Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I make redirection ?
#16
That works well for redirects, however, now the page doesn't load if there's no "slash" at the end.

My redirect text is now:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/$ index.php?id=$1 [QSA,L]

Now, "http://www.irisemedia.com/internet-marketing-solutions/" is very different from "http://www.irisemedia.com/internet-marketing-solutions" (no slash). How do I fix this so that the page shows with/without the slash and still be able to redirect URLs?

(2013-06-24, 03:09:20)SoHo22 Wrote: In this case the "?$" was wrong. I deleted it and everything works. Very simple - when you got the solution ;-)

PROBLEM SOLVED
Reply


Messages In This Thread
How can I make redirection ? - by gimx - 2011-03-16, 11:20:00
RE: How can I make redirection ? - by SoHo22 - 2013-06-19, 21:30:08
RE: How can I make redirection ? - by SoHo22 - 2013-06-24, 03:09:20
RE: How can I make redirection ? - by rhecht - 2013-08-29, 02:17:39
RE: How can I make redirection ? - by rhecht - 2013-08-29, 02:22:06
RE: How can I make redirection ? - by wakh - 2014-03-07, 10:04:37
RE: How can I make redirection ? - by Hypertexter - 2014-06-21, 20:08:32
RE: How can I make redirection ? - by bigthanks - 2015-11-19, 00:09:02
How can I make redirection ? - by yojoe - 2011-03-16, 11:25:57
How can I make redirection ? - by gimx - 2011-03-16, 11:51:57
How can I make redirection ? - by yojoe - 2011-03-16, 20:44:47
How can I make redirection ? - by gimx - 2011-03-16, 22:37:42
How can I make redirection ? - by ccagle8 - 2011-03-16, 22:57:30
How can I make redirection ? - by gimx - 2011-03-16, 23:18:17
How can I make redirection ? - by Texta - 2011-03-17, 00:32:17
How can I make redirection ? - by Draxeiro - 2012-05-10, 20:38:48
How can I make redirection ? - by mvlcek - 2012-05-10, 20:59:01
How can I make redirection ? - by Draxeiro - 2012-05-10, 22:01:21
How can I make redirection ? - by mvlcek - 2012-05-10, 22:29:53
How can I make redirection ? - by Draxeiro - 2012-05-10, 22:58:52



Users browsing this thread: 1 Guest(s)