Author Topic: errors with .htaccess  (Read 1396 times)

Offline chrishales

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
errors with .htaccess
« on: October 01, 2015, 03:30:20 PM »
my host liquidweb says the .htaccess file is not right

rewrite mod rules are definately on

but I installed a site using automatic mode but geting 404 errors i.e.

here is file:

#RewriteEngine On

RewriteBase /

RewriteEngine On

RewriteRule .* - [L]

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]

RewriteCond %{REQUEST_FILENAME} -d [NC]

#RewriteRule .* - [L]

RewriteRule sitemap.xml$ sitemap_xml.php

RewriteRule links([0-9]*).html$ virtual_page.php?page=links&page_number=$1

RewriteRule links.html$ virtual_page.php?page=links

RewriteRule aboutus.html$ virtual_page.php?page=aboutus

RewriteRule contact.html$ virtual_page.php?page=contact

RewriteRule privacy.html$ virtual_page.php?page=privacy

RewriteRule rss.html$ rss.php

RewriteRule sitemap/([0-9]*) virtual_page.php?page=sitemap&page_number=$1

RewriteRule sitemap$ virtual_page.php?page=sitemap

RewriteRule archives/([0-9]*)-([0-9]*)/([0-9]*) virtual_page.php?page=archives&archive_date=$1-$2&page_number=$3

RewriteRule archives$ virtual_page.php?page=archives

RewriteRule tags/(.*) virtual_page.php?page=tags&tag=$1

RewriteRule tags$ virtual_page.php?page=tags

RewriteRule categories/([0-9]*)/([0-9]*) virtual_page.php?page=categories&category_id=$1&page_number=$2

RewriteRule categories$ virtual_page.php?page=categories

#RewriteRule posts/(.*).html$ pages.php?keyword=$1Options -Indexes

RewriteRule posts/(.*).html$ pages.php?keyword=$1Options

Options -Indexes

Offline newmember

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
Re: errors with .htaccess
« Reply #1 on: October 05, 2015, 03:06:53 AM »
I'm using AWB for a long time and .htaccess has no bugs. Works perfectly since my first installation. Do you use a standard configuration, or did you make any changes to URLs structure after installation?


  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: errors with .htaccess
« Reply #2 on: October 06, 2015, 12:04:48 PM »
Check if your server supports mod_rewrite. I used AWB on Hostgator once, and their servers didn't even support mod_rwrite (which is supported by free providers for years!!!!!!!!!)

Offline Matthew

  • eBGenius Team
  • Administrator
  • Hero Member
  • *****
  • Posts: 633
  • Karma: +4/-0
Re: errors with .htaccess
« Reply #3 on: October 06, 2015, 12:09:46 PM »
chrishales, I already responded to your support ticket, but I see you included the content of your .htaccess file here (it wasn't included in the helpdesk), so I can see what is wrong.

You experience this problem because your .htaccess file is MODIFIED. Please download the installation package from our servers and compare its .htaccess file with your .htaccess file. You will see that the main line (which is responsible for search engine friendly URLs) is COMMENTED (put simply, you or someone else who has access to your website MANUALLY DISABLED short URLs).

Also, your file has tons of other modifications and doesn't even look like a valid .htaccess file.
CEO & Founder