Hii
I have an Smf forum, and i installed SEO4SMF to my forum and i made some modifications to my htaccess file.but after doing so everything works fine
but i noticed that after going to some board in that board i a lot of topics
so that there are some pages like [1][2]...[10] pages
when i clicked on the page 2 it just redirects me to the first page..
what i have to do????
here is my htaccess file - AddHandler asp.net aspx
-
AddHandler application/x-httpd-php4 .php .php5 .php4 .php3
-
RewriteEngine on
-
-
#Some apache servers need Rewritebase.
-
#delete # from start of Rewrite base to enable it.
-
#If your forum is something like http://www.forum-example.com/forum then modify your
-
#RewriteBase in this way: RewriteBase /forum
-
-
RewriteBase /
-
-
#Archive/Sitemaps
-
RewriteRule ^sitemaps-([a-zA-Z0-9-]*)\.html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]
-
-
#uncomment if you use beautifying url actions
-
#RewriteCond %{REQUEST_METHOD} =GET
-
#RewriteCond %{QUERY_STRING} ^action=(.*)$
-
#RewriteRule ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]
-
-
RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$
-
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
-
-
RewriteCond %{QUERY_STRING} ^topic=([0-9]*).([0-9]*)
-
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
-
-
RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)
-
RewriteRule ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]
-
-
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$
-
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]
-
-
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)
-
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]
-
-
#Tiny Portal Old Url's
-
RewriteCond %{QUERY_STRING} ^page=([0-9]*)
-
RewriteRule ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]
-
-
#Rewrite Old urls
-
RewriteRule ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
-
RewriteRule ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]
-
-
RewriteRule ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
-
RewriteRule ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]
-
-
#Bad Url's
-
#RewriteCond %{REQUEST_URI} ^(.*)\.html$
-
#RewriteCond %{REQUEST_URI} !^(.+)/(.*)-t([0-9]*)\.([0-9]*).html$
-
#RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html seo4smf-redirect.php?t=$2 [R=301,L]
-
-
RewriteRule ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]
-
RewriteRule ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]
-
RewriteRule ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]
-
RewriteRule ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]
-
-
#New board URL's
-
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]
-
RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]
-
RewriteRule ^(.*)-b([0-9]*)\.([0-9])$ index.php?dummy=2&board=$2.$3 [L]
-
-
#New topic URL's
-
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]
-
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]
-
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]
-
RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html$ index.php?dummy=1&topic=$2.$3 [L]
-
-
#New profiles URL's
-
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]
-
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]
-
RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]
-
RewriteRule ^(.*)-u([0-9]*)\.html index.php?dummy=1&action=profile;u=$2 [L]
-
-
#New Tinyportal Articles URL's
-
RewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]
-
-
#New action Url's - uncomment if you use beautifying url actions
-
#RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
-
#RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]
-
-
#Sitemaps
-
RewriteRule sitemap.xml sitemaps.php [L]
-
RewriteRule urllist.txt urllist.php [L]
-
Please anybody help me
here is an example http://www.legendarydevils.com/misc-b53.0/ 1 2586 pbmods 5,821
Recognized Expert Expert
Heya, dheeraj4uuu.
At the top of your PHP script, add this line;
to see whether the problem is your mod_rewrite commands or your PHP paging script.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: lozd |
last post by:
Would appreciate any solutions people could offer for this.
Basically I wan't to use a frameset with an aspx page as the contents
rather than a htm page and I'd like to be able to redirect the...
|
by: Ankur Jain |
last post by:
Hi,
I am facing a very weird problem while redirecting to another page.
The problem is as follows:
I have a website. I build the solution and run the application.
The first page is the login...
|
by: James Wallace |
last post by:
Is it possible to use forms authentication in the web.config file and
FormsAuthentication.RedirectFromLoginPage with an asp page so that
when the asp page is set to startup page on the project that...
|
by: Greg Smalter |
last post by:
Redirecting from page to page within a web project is pretty easy. However,
all Redirect methods take strings as arguments, as if you mistype the string,
you don't find out until run time that you...
|
by: Jeremy Chapman |
last post by:
I have built a web app. While testing I have found that if I browse to a
page in the app, then get redirected to the login page and enter my
credentials. The...
| |
by: Gary Coutts |
last post by:
Hi,
I am have problems redirecting from a login page. The login page is simple,
with just 2 textboxes and one button. On the button click the routine below
is called:
I am using:
Visual...
|
by: Dynamo |
last post by:
Firstly, many thanks to those who replied to my dreaded what if question. As a
result I have now been able to partially resolve my problem as follows:
step 1 - User clicks on "buy me" button
step...
|
by: Katie |
last post by:
Hi,
I want to be able to send users links to pages in my website. But if
they arent logged in I want them to first be redirected to the login
page and after they login automatically be...
|
by: laredotornado |
last post by:
Hello,
I'm using PHP 4.4.4. After processing some data, I'd like to redirect
to another page for further data processing. The way I'm redirecting
right now is
header("Location:...
|
by: amygdala |
last post by:
Hello all,
I have posted a similar question in comp.lang.php in the past, but haven't
had any response to it then. I kinda swept the problem under the rug since
then. But I would really like to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |