Activity Stream
48,167 MEMBERS
61441 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Banned
    Website's:
    perfectddl.com

    Default Need Help

    Hello, I have created the category pages and edited .htaccess file with codes provided by Mr.Happy.

    http://www.besthostingforums.com/showthread.php?t=77208

    its working fine.

    But here is some problem with pagination.

    Suppose i open :
    http://perfectddl.com/softwares.html

    when i go to page 2 or 3 .... its shows title of the index page.
    It should shows the title of software page...

    plz help me.
    CoolBird Reviewed by CoolBird on . Need Help Hello, I have created the category pages and edited .htaccess file with codes provided by Mr.Happy. http://www.besthostingforums.com/showthread.php?t=77208 its working fine. But here is some problem with pagination. Suppose i open : http://perfectddl.com/softwares.html Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Website's:
    wrzc.org
    Forgot about the different pages for you.

    OPTION 1


    Code: 
    RewriteRule ^(.*)-page-([0-9]+).html$ index.php?type=$1&page=$2
    If you add the above extra line to your htaccess file it will allow the following types of pages. The disadvantage of this is you can't use your own type names and they must be app, movie game etc and not software, movies, games etc.

    Code: 
    http://example.com/movie-page-3.html
    http://example.com/music-page-12.html
    http://example.com/ebook-page-234.html
    http://example.com/app-page-234.html
    OPTION 2

    That's when you try and have one rule for each. The other option is to have a rule for each type which gives you more flexibility and let's you customize it more.

    Code: 
    RewriteRule ^movies-page-([0-9]+).html$ index.php?type=movie&page=$1
    RewriteRule ^music-page-([0-9]+).html$ index.php?type=music&page=$1
    RewriteRule ^software-page-([0-9]+).html$ index.php?type=app&page=$1
    etc..
    You'll see here how you can have the link say software when it inserts the type as app and will allow urls like the following
    Code: 
    http://example.com/movies-page-3.html
    http://example.com/music-page-12.html
    http://example.com/ebooks-page-234.html
    http://example.com/software-page-234.html
    OPTION 3

    Expanding on option 2 we can change the format of the url
    Code: 
    RewriteRule ^movies/([0-9]+).html$ index.php?type=movie&page=$1
    RewriteRule ^music/([0-9]+).html$ index.php?type=music&page=$1
    RewriteRule ^software/([0-9]+).html$ index.php?type=app&page=$1
    etc..
    Will allow urls like the following
    Code: 
    http://example.com/movies/3.html
    http://example.com/music/12.html
    http://example.com/ebooks/234.html
    http://example.com/software/234.html
    OPTION 4

    Expanding on option 3 we can change the format of the url
    Code: 
    RewriteRule ^movies/page-([0-9]+).html$ index.php?type=movie&page=$1
    RewriteRule ^music/page-([0-9]+).html$ index.php?type=music&page=$1
    RewriteRule ^software/page-([0-9]+).html$ index.php?type=app&page=$1
    etc..
    Will allow urls like the following
    Code: 
    http://example.com/movies/page-3.html
    http://example.com/music/page-12.html
    http://example.com/ebooks/page-234.html
    http://example.com/software/page-234.html

    That should be more than enough of a choice
    rep me
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  4.     
    #3
    Banned
    Website's:
    perfectddl.com
    Thanks Mr Happy. Its now working f9.

    I need another help.

    How to add title for sites download.

    i want the title should b like ABCWarez[means site name]@ Downloads

    http://www.perfectddl.com/site/pinoy-warez.com

    note: i have separate file (site.php) and need to set title here.


    BTW Mr. Happy may i get ur msn plz ?

  5.     
    #4
    Member
    Helped you via MSN.

  6.     
    #5
    Banned
    Website's:
    perfectddl.com
    Quote Originally Posted by kewld00d View Post
    Helped you via MSN.
    Thanks. +1 rep

Thread Information

Users Browsing this Thread

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

Tags for this Thread

BE SOCIAL