Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Remove "index.php" from URL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove "index.php" from URL

 Post Reply Post Reply
Author
berhan View Drop Down
Newbie
Newbie


Joined: 04 March 2012
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote berhan Quote  Post ReplyReply Direct Link To This Post Topic: Remove "index.php" from URL
    Posted: 13 November 2016 at 4:13pm
Hi,

I installed Wordpress to my hosting, and url's have "index.php" node that I want to remove. Is there any solution that you know?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 November 2016 at 9:14am
If you are hosting your wordpress website with us here at Web Wiz you would need to setup some URL Rewrite Rules in your websites web.config file found in the your websites wwwroot folder.

Download the web.config file from your website and open it in notepad and locate the <system.webServer> section.

Add the following rewrite rules to the <system.webServer> section, save and then reupload your web.confug file;


<rewrite>
 <rules>
  <rule name="Main Rule" stopProcessing="true">
   <match url=".*" />
   <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
   </conditions>
   <action type="Rewrite" url="index.php" />
  </rule>
 </rules>
</rewrite>


If you get stuck open a support ticket from your Client Area account and we will add the rewrite rule for you.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.