Solved

Wordpress index.php URL

Posted on 2014-04-03
10
433 Views
Last Modified: 2014-04-30
Hi, i have just installed a new copy of wordpress on my site, however i have noticed that all of my urls have 'index.php' - such as

http://mywebsite.com/index.php/about-us/
http://mywebsite.com/index.php/contact-us/
http://mywebsite.com/index.php/news/

etc...

Does anyone know how to stop this? Thanks in advance...
0
Comment
Question by:oo7ml
10 Comments
 
LVL 17

Assisted Solution

by:Emmanuel Adebayo
Emmanuel Adebayo earned 50 total points
ID: 39974404
Check the general settings in the Admin section.

Also check the theme that you are using if it has "home page" section.

Regards
0
 
LVL 54

Assisted Solution

by:Julian Hansen
Julian Hansen earned 50 total points
ID: 39974446
Have you read the wordpress article on Using Permalinks? You might find your answer there

http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks
0
 

Author Comment

by:oo7ml
ID: 39974516
Thanks, i just read that but it's a little over my head...
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 14

Expert Comment

by:John-Charles-Herzberg
ID: 39974681
Can you have a look at the control panel (Left side) under permalink setting and change it to "Default"

Permalink Settings
Thanks
JC
0
 

Author Comment

by:oo7ml
ID: 39974711
Hi, i changed it back to default but now i obviously don't have the 'pretty urls'

permalinks
0
 
LVL 14

Expert Comment

by:John-Charles-Herzberg
ID: 39974739
Can you tell me what was it set on before you changed it to default?  Was it "Custom Structure" with "/index.php/%postname%/"

Was Wordpress installed in a folder called "index.php"  if so you might have to change the folder name

Thanks
JC
0
 

Author Comment

by:oo7ml
ID: 39975044
It wasn't installed in any folder called index.php and i had it previously set to 'Post Name'
0
 
LVL 14

Expert Comment

by:John-Charles-Herzberg
ID: 39975058
Who is your hosting provider?  Can you send a screen shot of the directory structure?

Thanks
JC
0
 

Author Comment

by:oo7ml
ID: 39975068
register365.com

the files are placed in web... attached is the root directory

file
0
 
LVL 14

Accepted Solution

by:
John-Charles-Herzberg earned 400 total points
ID: 39975400
This is a good post that might help.  It look to be a hosting problem,

http://derekmolloy.ie/remove-index-php-from-your-wordpress-url/

Remove index.php from your WordPress URL

You will notice in this site which runs using WordPress that there is no index.php in the URL when you are directly addressing a page/post or when you are linking to other pages/posts.

There are two step 1's, depending whether you/your web provider is using Apache or Zeus scripting.


or this one


http://www.niallflynn.com/seo-news/register-365-wordpress-permalinks/

I ran into an issue today, while optimising a WordPress site hosted on Register 365 Servers, which initially looked to be Apache, but on closer inspection was Zeus. Not to worry I thought, WordPress will sort all this out, it’s an Apache type web server, I am sure the .htaccess will work. Well it did not and after a long time searching and looking around I found this work around.

No .htaccess instead rewrite.script, the code for the rewite.script is below and you can also download a zipped copy of the file here;


Thanks
JC
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question