Client Login Area
LiveZilla Live Chat Software
Main Menu
Results 1 to 2 of 2

Thread: URL rewriting..apache server..

  1. #1
    Verified Community Member seofast's Avatar
    Join Date
    July 2, 2010
    Posts
    22

    Default URL rewriting..apache server..

    Hey there,
    i am new to SEO,and need to learn how to re-write url... The website is having .htaccess file on the server.
    The rules have been setup like this:
    Options +FollowSymlinks
    RewriteEngine on

    RewriteBase /

    php_flag register_globals On

    RewriteRule ^Hotel/(.*)$ HotelProfile.php?urlname=$1 [L]



    Now i am trying to change the rewriterule for the hotel....with this rule
    RewriteEngine On # Turn on the rewriting engine
    RewriteRule ^Hotels/([A-Za-z0-9-]+)/?$ get_hotel_by_name.php?hotelname=$1 [ L] # Process hotels
    But it is not working....Can somebody help please.

    thanks

  2. #2
    ASPnix Administration Roma's Avatar
    Join Date
    June 27, 2005
    Location
    Denver, CO
    Posts
    4,066

    Default

    To make this work on ASPnix hosting make sure ISAPIrewrite is enabled on your domain/account. If you have any issues please email support.
    Roma
    Friendly ASPnix Administrator


    https://www.aspnix.com
    roma@aspnix.com



    ASPnix on Facebook

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •