+ Reply to Thread
Results 1 to 3 of 3

Thread: Mod_rewrite Friendly URL

  1. #1
    Join Date
    Jun 2004
    Posts
    71

    Exclamation Mod_rewrite Friendly URL

    Hi,

    question

    Php/mysql site, has links which has several special character and id= session.

    Now, if mod_rewrite is done it will come FROM out side and re-writes the internal dynamic url and converts them to friendly url without special character. per reffering url.

    My question is this. If the site is done in .php and all internal links are pointing to other links within the site, how would you handle it.

    If the googlebot arrives at your site and starts crawling they will follow these dynamic links.

    What would be the best way to do handle this, instead of changing all of the urls's.

    Thanks.

  2. #2
    Join Date
    Jun 2004
    Location
    Auckland, New Zealand
    Posts
    594

    Default Re: Mod_rewrite Friendly URL

    PHPNuke gets around this by using the ob functions to capture all the output and then parses it using regular expressions to convert urls as necessary. This assumes that you already have a standard script being called at the beginning and the end before the body of your page is output (maybe a hitcounter, or the header and footer sections)

    Alternatively, you could work with the "duplicate" content, one version will still get indexed and quietly work through the remaining code to catch the rest.

    Anything that includes a session will get rejected by the indexers as the page will never be available twice. If you need a session then don't expect the code to be indexed. You can check to see how the session id will be handled, or just don't use the session.

    Sarah

  3. #3
    Join Date
    Jun 2004
    Posts
    71

    Default Re: Mod_rewrite Friendly URL

    Thanks Sarah,

    I was hoping for simpler quick fix. Also, I found detailed instructions and pro/con at the site point and evolt site.

    Also, there is cool technique, which send it to php and converts it right back to SE friendly, keyword enriched URL.
    Last edited by Arizona Home; 09-06-2004 at 09:57 AM.

+ Reply to Thread

Similar Threads

  1. Search engine friendly design
    By real_estate in forum Internet Marketing Chat
    Replies: 14
    Last Post: 01-04-2012, 12:14 PM
  2. Help me get my site more Google friendly!
    By ISellRiverview in forum Google
    Replies: 36
    Last Post: 11-21-2007, 08:32 PM
  3. SEO Friendly Page Titles
    By pcdoc in forum Website Usability
    Replies: 4
    Last Post: 10-26-2007, 09:10 PM
  4. Search Engine Friendly
    By ABQ in forum MLS listings and IDX Solutions
    Replies: 11
    Last Post: 04-18-2007, 08:46 AM

Posting Permissions

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