0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

htaccess question

  • htaccess question

    Posted 17 years 11 months ago
    • Hi there,

      I am having some difficulty creating an entry in my htaccess file to redirect certain pages as 301.

      I did have the styleswitcher on my Mobius template enabled and now I have taken it away due to the excessive number of duplicate requests to pages. I have changed webhosts and I need to reduce the bandwidth that is being gobbled up by robots.

      I want to be able to redirect anything with "widthstyle" or "fontstyle" in the url string to the home page permanently as most search engine robots are seeing valid pages even with the styleswitcher removed.

      For example, this link...

      http://performingartsnews.com/index.php?option=com_events&task=view_day&year=2007&month=07&day=21&Itemid=162&fontstyle=f-larger

      ... needs to go to the homepage.

      I have the Artio SEF component installed and I don't think that it can be configure with multiple php generated URLs.

      Any ideas would be greatly appreciated.

      Cheers, Ian
    • www.performingartsnews.com
  • Re: htaccess question

    Posted 17 years 10 months ago
    • Hi there,

      Prolly no-body here knows, that's cool but I wonder if someone might know where I can ask this question.

      Cheers, Ian
    • www.performingartsnews.com
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: htaccess question

    Posted 17 years 10 months ago
    • try putting this in your .htaccess:
      RewriteEngine on 
      RewriteRule fontstyle /index.php [NC,L]

      note: i'm no expert on .htaccess and this could be totally wrong.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up

Time to create page: 0.068 seconds