Solved

Wordpress index.php URL

Posted on 2014-04-03
10
437 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 55

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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

821 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