• Hello,

    I have WordPress 5.4.1 installed on my server.
    The URL of the page is https://192.168.61.7/wordpress/index.php/page-name
    I changed the permalink structure to https://192.168.61.7/wordpress/page-name and updated the .htaccess folder with the following code:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    and im still not able to get rid of the index.php in the URL

    • This topic was modified 4 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 5 replies - 1 through 5 (of 5 total)
  • have you setup permalink?

    Using Permalinks

    Thread Starter mayurls

    (@mayurls)

    Yes, I did that first and then added the rules to the .htaccess file.
    Should i make any changes to the Apache configuration (httpd.conf) file?

    your .htaccess file is not the default WordPress version.
    no, you don’t need to make changes to Apache config.
    Make sure you have enabled mod_rewrite in apache.

    Thread Starter mayurls

    (@mayurls)

    i do have mod_rewrite enabled in my apache

    in permalinks option it shows https://mysite/index.php in every setting like

    https://mysite/index.php/2020/08/28/sample-post/

    Who to remove this index.php

    I’m using godaddy’s plesk | i am using shared hosting for three sites
    Problem occurs only in main site that is uder httpdocs directory.

    what i’ve tried sofar

    1. every post in this forum that is related to removing index.php
    2. i am unable to find .htaccess file (tried filezilla with force show hidden file and and other file browsers.
    3. added the .htaccess file manally (as described in some forums)
    4. edited web.config file
    5. changed permission settings.

    But every thing is not working please guide

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove index.php from my URL’ is closed to new replies.