Solved

Wordpress index.php URL

Posted on 2014-04-03
10
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 57

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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

734 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