image description
Web hosting FAQ & Knowledge base

Hosted websites for 24,820,074 users all over the world!

Knowledge Base Articles

Search engine friendly (virtual) URLs not working!

We use virtual user home directory paths so you can get errors when trying to setup search engine friendly URLs. It can be fixed very easy. Open your .htaccess file and add one simple line to it:

RewriteBase /

Make sure this line is placed before all the other rules (on the first line of .htaccess file). That's it. Now your rewrite rules will be working fine.

Note: if you are installing your script to some subdirectory such as www.yoursite.com/forum/, you have to place RewriteBase /forum line to the .htaccess file which is located in public_html/forum directory.


Go back
  • php
  • my sql
  • intel
  • cloudlinux
  • nginx
  • cloudflare
  • wordpress
  • 24/7 Live Support
  • Easy Website Builder
  • 2X Optimización de la Velocidad de WordPress
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
$ 1
95
/mo
$11.97
$5.85 for 3 months
Save 51%
Get started
Hostinger logo
Limited time offer. From $1.99/month
:
:
:
Get started
keyboard_arrow_up Swipe Up
Hostinger logo

Limited time offer

80% OFF

From $1.99/month

Get Hostinger’s Fast & Secure Web Hosting with an SSL Certificate for FREE!

:
:
:
Get started now
Close