A lot of hosts don't have mod_rewrite enabled, or even a basic .htaccess file. Keep in mind this is for people using a blogging system or small Content Management System, such as Wordpress or GetSimple.
This fix is clearly written to help users better understand what to do, as well as an easy copy/paste job.
- Simply copy and paste this code into a new Windows notepad file.
- "Save file as.." .htaccess - including the dot in front of htaccess.
- Upload the file to your public_html directory, overwriting the previous one if any.
- (Not a required step, use only if temp.htaccess exists.) If there is one called temp.htaccess, simply delete that one OR rename it as .htaccess and upload the new .htaccess for an overwrite.
Copy the text below this line..AddDefaultCharset UTF-8
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/? $index.php?id=$1
# Add a ReWriteBase line to any directory or subdirectory requiring it.
# The default directory is "/", which is the root or main directory you use.
------------------------------------End copy
Good luck to you!
×