Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

Thread: mod_rewrite simple tutorial

  1. #11
    melkior_inactive Guest

    Default

    Lala, you're too kind!

    mrcrowley, if you're not familiar with PHP programming I highly advise that you hire some professional(s) to do this for you.
    It looks like a rather complex script and integrating mod_rewrite would take a lot of work.
    All I gave here are theoretical examples for those who are writing their own scripts and want to make them SEO friendly.
    Modifying an existing script is of course possible but it can also be risky if you're not sure what you're doing.
    The code modifications depend on the script itself and editing the source imposes that you are familiar with the way the script works in high detail.

  2. #12
    mrcrowley's Avatar
    mrcrowley is offline Senior Member mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice
    Join Date
    Apr 2007
    Posts
    360

    Default

    ecommerce i think?

  3. #13
    mrcrowley's Avatar
    mrcrowley is offline Senior Member mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice mrcrowley is just really nice
    Join Date
    Apr 2007
    Posts
    360

    Default

    Quote Originally Posted by melkior View Post
    Lala, you're too kind!

    mrcrowley, if you're not familiar with PHP programming I highly advise that you hire some professional(s) to do this for you.
    It looks like a rather complex script and integrating mod_rewrite would take a lot of work.
    No problem i thought it was just editing a few files (adding a few lines) I will stop right there. I mean i always back things up before i mess with em anyway. I tend to fiddle with things and if they don't work put them back nothing to lose that way.But if theres complexities involved then i'm out lol

  4. #14
    Humous is offline Member Humous is on a distinguished road
    Join Date
    May 2007
    Posts
    43

    Default

    Thanks for the guide Melkior, I was keeping an eye out on how to do this.

    I had some trouble getting this to work, I had to comment/remove the 1st line of the .htaccess file (#Options +FollowSymLinks) to do this but working fine now.

    This may have been due to me messing around with the config file for apache.

    Humous

  5. #15
    casper is offline Member casper is on a distinguished road
    Join Date
    Jan 2008
    Posts
    30

    Default

    nice work there

  6. #16
    Join Date
    Jul 2008
    Location
    Lodnon, England
    Posts
    79

    Default

    Quote Originally Posted by mrcrowley View Post
    Sorry for being a newb (I tried to figure it out myself before posting).
    Where in your site might you find the php script which you enter the following code into?

    I'm trying to implement this into this site... A2Z Sex Shop - His And Her Sex Toys, Dildos, Strapons, Dolls, Bondage kits

    Thanx!
    er, your site runs osCommerce - there are plenty of seo mods for oscommerce that implement mod_rewrite - you should just look at the community downloads.

  7. #17
    MeetHere's Avatar
    MeetHere is offline Senior Member MeetHere is on a distinguished road
    Join Date
    Jun 2007
    Posts
    195

    Default

    how to redirect www to non-www ?

  8. #18
    Join Date
    Jul 2008
    Location
    Lodnon, England
    Posts
    79

    Default

    for yourdomain.co.uk -> www.yourdomain.co.uk

    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^yourdomain\.co\.uk [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.co.uk/$1 [R=301,L]

  9. #19
    rashidbm is offline Junior Member rashidbm is on a distinguished road
    Join Date
    Jun 2011
    Posts
    13

    Default

    very nice post i need more information about it.

  10. #20
    amir100 is offline Member amir100 is on a distinguished road
    Join Date
    Apr 2011
    Posts
    32

    Default

    Search engines Consider www & without www is two Different websites & ask to provide a Preferred domain for each website . mod_rewrite is great function to specify in .htaccess for 301 SEO Friendly Redirection also

+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. simple php contact form
    By OldDarkstarAccount in forum Download Section
    Replies: 11
    Last Post: 10-01-2009, 07:00 PM
  2. A simple exercise
    By OldWelshGuy in forum Directories
    Replies: 6
    Last Post: 02-15-2007, 09:13 AM
  3. Simple guide to CSS
    By Rifat in forum General Webmaster Talk
    Replies: 8
    Last Post: 05-03-2006, 07:19 AM
  4. ISO to UTF-8 Tutorial
    By clau in forum General Webmaster Talk
    Replies: 0
    Last Post: 12-30-2005, 04:54 PM

Bookmarks

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124