Mod_ReWrite Portal www.techarena.in

Discussion in 'HTML & Website Design' started by SaN-DeeP, Aug 26, 2005.

  1. #1
    Hi Guys,
    I am completely new to mod_rewriting stuff, can you tell me if it is possible to mod_rewrite our portal www.techarena.in ?

    I am using a News Script named Virtuanews for our portal and would need to turn all the dynamic links (.php) to .html

    Please guide me through the process of beginning with this stuff, I will setup a test portal and start working on this.

    Need to completely SEO this portal .

    Thanks in Advance,
     
    SaN-DeeP, Aug 26, 2005 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    You can change ANY URL. You just need to know how to edit the script to change the links. We can give you the .htaccess code.

    Give us current URLs, and how you want them.
     
    Nintendo, Aug 26, 2005 IP
  3. SpeedyDomainRegistration

    SpeedyDomainRegistration Peon

    Messages:
    170
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Very easy to do. Let us know sample url you want to change and what you want to change it to.
     
  4. SaN-DeeP

    SaN-DeeP Well-Known Member

    Messages:
    590
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Hello Nintendo,
    First i appreciate your immediate reply to my query, Big thanks.

    Since i am completely new to modrewriting, not aware how to begin with, can you kindly possibly spend some minutes checking the our portal ?
    I will take your suggestions on SEO our portal script.

    There are some important pages/sections on our portal which needs to be mod_rewritten:

    We are an I.T. based portal, news posts made every hour:
    http://www.techarena.in/comments.php?shownews=3333

    We have 5 news categories to categorize our news posts:
    Main News: http://www.techarena.in/index.php?action=news&catid=1
    Software News: http://www.techarena.in/index.php?action=news&catid=2
    Hardware News: http://www.techarena.in/index.php?action=news&catid=3
    Gaming News: http://www.techarena.in/index.php?action=news&catid=4
    Security News: http://www.techarena.in/index.php?action=news&catid=5
    News Archive - http://www.techarena.in/archive.php

    Other Important Sections:
    Articles Section: http://www.techarena.in/articles.php
    Guides: http://www.techarena.in/articles.php?action=cat&id=9
    Reviews: http://www.techarena.in/articles.php?action=cat&id=8

    Download Section: (If i find a better alternative to software download system, i am planning to migrate to same)
    http://www.techarena.in/modules.php?modid=2

    Contact Us Form:
    http://www.techarena.in/modules.php?modid=6

    About Us:
    http://www.techarena.in/aboutus.php

    I am planning to replace the WebLinks Section of our domain with CpLinks or PHpLinksDirectory *learned the same from Digitpoint forums.*

    Warm Regards,
     
    SaN-DeeP, Aug 26, 2005 IP
  5. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #5
    domain.com/.htaccess

    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^coments/(.*).html$ comments.php?shownews=$1 [L]
    RewriteRule ^news/(.*).html$ index.php?action=news&catid=$1 [L]
    RewriteRule ^categories/(.*).html$ articles.php?action=cat&id=$1 [L]
    RewriteRule ^other/(.*).html$ modules.php?modid=$1 [L]
    RewriteRule ^articles.html$ articles.php [L]
    RewriteRule ^aboutus.html$ aboutus.php [L]

    Now change the links in the script.....

    ** is the part of the URL that changes, the number.

    http://www.techarena.in/comments.php?shownews=**
    http://www.techarena.in/coments/**.html

    http://www.techarena.in/index.php?action=news&catid=**
    http://www.techarena.in/news/**.html

    http://www.techarena.in/articles.php?action=cat&id=**
    http://www.techarena.in/categories/**.html

    http://www.techarena.in/modules.php?modid=**
    http://www.techarena.in/other/**.html

    http://www.techarena.in/articles.php
    http://www.techarena.in/articles.html

    http://www.techarena.in/aboutus.php
    http://www.techarena.in/aboutus.html
     
    Nintendo, Aug 26, 2005 IP
  6. SaN-DeeP

    SaN-DeeP Well-Known Member

    Messages:
    590
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Thanks Nintendo,
    I am just setting up a test portal on one of the sub-domains, will reply back with all the acheiements back again in few hours.

    Warm Regards,
     
    SaN-DeeP, Aug 26, 2005 IP
  7. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #7
    It might need to be different for a sub domain. Sub-directory might be a better place to test it.

    RewriteBase /test/
     
    Nintendo, Aug 26, 2005 IP
  8. jobsupdates

    jobsupdates Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    http://www.jobs-update.blogspot.com/ Experienced
    http://www.jobs-update.blogspot.com/ ITSoftware
    http://www.jobs-update.blogspot.com/ Freshers
     
    jobsupdates, Nov 8, 2011 IP
  9. jobsupdates

    jobsupdates Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    jobs-update.blogspot.com
     
    jobsupdates, Nov 8, 2011 IP