Remove index.php from url – Hosted in Sub directory – WordPress
-
These are my server configuration :
Operating System : Linux (64 Bit)
Server : Apache/2.2
PHP Version : 5.3.14This is a production server and it runs more than 600+ website. Client provided me a ftp account which have limited access to a particular directory.
This is the directory path
/www.mastersite.com/web/content/**mysite**
I uploaded all my wordpress site to mysite directory as per the instruction of my client. Now he can access the site by the below url :
Now my problem is all about permalinks of wordpress. Usually i use /%postname%/ in custom permalinks structure which gives the result like this :
https://www.mastersite.com/mysite/**postname**
But unfortunatly this settings giving me 404 Not found error. ??
Spending few hours to get ride of this issue noticed something and sharing along with this question.
1. Site works when i use /index.php/%postname%/ instead of /%postname%/. ie, result is like https://www.mastersite.com/mysite/**index.php**/**postname**
2. WordPress not generating its own .htaccess file
Simply, my problem is that “index.php”. How to get ride of that.?
- The topic ‘Remove index.php from url – Hosted in Sub directory – WordPress’ is closed to new replies.