Results 1 to 2 of 2

Thread: URL2 Issues

  1. #1
    Casual Pligger ryanshyper's Avatar
    Joined
    Mar 2007
    Posts
    48
    Thanks
    Received:0
    Given: 0

    URL2 Issues

    I have renamed my htaccess.default to .htaccess and have added the following in it:
    PHP Code:
    ##### You can find the below lines pre-made for you in the category management section of the admin panel ######
    ##### RewriteRule ^(all|pligg)/([^/]+)/?$ story.php?title=$2 [L]
    ##### RewriteRule ^(all|pligg)/?$ ?category=$1 [L] 
    RewriteRule ^(all|Aging|AgingProcess|Alzheimers|Anti-aging|Beauty|Geriatrics|Longevity|Menopause|Psychology|SeniorHealth|BodyMindSpirit|Alternative_IntegrativeMedicine|Holistic|Meditation|NaturalRemedies|ZenHabits|Conditions|Allergies|Anxiety|Arthritis|Asthma|Cold_Flu|SleepDisorders|SkinConditions|Stress|Diet_Nutrition|Diets_WeightLoss|EatingDisorders|Food|Obesity|Organics|Recipes_Cooking|Supplements|GeneralDiet_Nutrition|Diseases|ADHD_ADD|Cancers_Leukemia|Depression|Diabetes|Cholesterol_HeartDisease|InfectiousDisease|Neurological|Stroke|Kids_Parenting|Pregnancy|Relationships|Communication|Dating|Divorce|Intimacy|Marriage|Sex|Contraception|SexDrive|SexualHealth|Sexuality|STDs|SexOther|Sports_Fitness|Pilates|Running|SportsMedicine|Weightlifting|Yoga|GeneralFitness|Suggestions|Categories|RSSFeeds|Other)/([^/]+)/?$ story.php?title=$[L]
    RewriteRule ^(all|Aging|AgingProcess|Alzheimers|Anti-aging|Beauty|Geriatrics|Longevity|Menopause|Psychology|SeniorHealth|BodyMindSpirit|Alternative_IntegrativeMedicine|Holistic|Meditation|NaturalRemedies|ZenHabits|Conditions|Allergies|Anxiety|Arthritis|Asthma|Cold_Flu|SleepDisorders|SkinConditions|Stress|Diet_Nutrition|Diets_WeightLoss|EatingDisorders|Food|Obesity|Organics|Recipes_Cooking|Supplements|GeneralDiet_Nutrition|Diseases|ADHD_ADD|Cancers_Leukemia|Depression|Diabetes|Cholesterol_HeartDisease|InfectiousDisease|Neurological|Stroke|Kids_Parenting|Pregnancy|Relationships|Communication|Dating|Divorce|Intimacy|Marriage|Sex|Contraception|SexDrive|SexualHealth|Sexuality|STDs|SexOther|Sports_Fitness|Pilates|Running|SportsMedicine|Weightlifting|Yoga|GeneralFitness|Suggestions|Categories|RSSFeeds|Other)/?$ ?category=$[L
    But my site seems to keep add the current url to the one you are clicking. For example, if you are viewing a story:

    sidedish.com
    and click on the index page this is what I get - a 404 because it adds index.php onto the end of url



    This also happens when I am in a viewing a user profile.

    Note - this only seems to happen when clicking on the logo (index.php) to get to the page. Any assistance is appreciated.

  2. #2
    Casual Pligger ryanshyper's Avatar
    Joined
    Mar 2007
    Posts
    48
    Thanks
    Received:0
    Given: 0
    Solved this one - the header.tpl looked like this:
    <a href="index.php" class="logo"></a>

    I addeda a / before index:
    <a href="/index.php" class="logo"></a>

Similar Threads

  1. Advanced search not working with URL2
    By plectori in forum Questions & Comments
    Replies: 11
    Last Post: 05-27-2009, 01:37 PM
  2. Neither Categories nor URL2 work
    By chester in forum Questions & Comments
    Replies: 8
    Last Post: 11-19-2008, 01:58 AM
  3. url2 search
    By sb225 in forum Questions & Comments
    Replies: 2
    Last Post: 09-19-2008, 09:55 AM
  4. URL2 with a ( or ) or ! or % or / or \
    By treelovinhippie in forum Questions & Comments
    Replies: 8
    Last Post: 04-29-2007, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg