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 2592 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 main page from
the code behind the contents page.
I want to do this to allow the use of asp "linkbuttons" instead of
hyperlinks so I can do a little processing before redirecting. The main
reason for this to prevent hyperlinks of pages that have...
|
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 page. I enter a valid login and password
and click the "login" button. The click event call the database and
validates the information. After verification the Response.Redirect is
fired. The problem comes here. The redirected page does not come up....
|
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 a
redirection will go to the login page and allowing the authentication
to occur before going to the asp page.
I have an asp page that I want to redirect to after authenticating and
if I set the asp as the startup page it starts up with 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 are redirecting to somewhere that
doesn't exist.
Worse, if you do type it correctly, but then later the page name changes or
the page moves, you still won't find out until run time.
I have a framework that solves this problem and guarantees,...
|
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 FormsAuthentication.RedirectFromLoginPage call is
redirecting to the default.aspx page rather than the original page the user
was at.
Here is the details of my application:
Web.config:
<authentication mode="Forms">
| |
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 Studio 2003 Version 7.1.3008
Framework 1.1 Version 1.1.4322 SP1
Windows XP Pro Version 2002 SP2
|
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 2 - He is sent to a confirmation page to confirm purchase or cancel
purchase.
step 3 - Confirmation page first checks the pending transaction table and
deletes all records that are older than 20mins.
step 4 - Confirmation page then checks the...
|
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 redirected to the page i
sent them in the link. How would i accomplish this.
Thanks for your time and help
:)
|
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: next_page.php");
However, as you know this causes information to be sent to the client
before the next page is contacted. Is there a way I can go to
|
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 resolve this issue once and for all now.
The problem might be PHP related but since I only develop applications using
PHP, I'm not a hundred percent sure. Therefor I've taken the liberty to
crosspost to comp.lang.php and alt.www.webmaster. I...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |