Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cloning GS sites to new domains
#18
(2013-04-11, 10:21:42)shawn_a Wrote: Your htaccess does not contain rewrite rules for fancy urls.

My rewrite rules are the same I've used in each of the sites I've done so far:

Code:
RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

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

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

These are contained in the .htaccess attached above. I've come up with this .htaccess after reviewing and compiling all the various threads for optimization. I believe it is correct, but maybe I've missed something?

Like I said in the original reply. All plugins, functions, photos, etc. from the data folder appear to work properly. It comes down to the page content itself. It is my experience this is almost always the .htaccess being misconfigured. I'm just not seeing it.
Reply


Messages In This Thread
Cloning GS sites to new domains - by grassfrog - 2012-03-24, 12:54:11
RE: Cloning GS sites to new domains - by dblewett - 2013-04-11, 08:41:06
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 10:21:42
RE: Cloning GS sites to new domains - by jeremiah.holder - 2013-04-11, 11:34:24
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 11:38:18
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 11:55:11
RE: Cloning GS sites to new domains - by shawn_a - 2013-04-11, 12:01:40
Cloning GS sites to new domains - by ccagle8 - 2012-03-24, 22:23:29
Cloning GS sites to new domains - by grassfrog - 2012-03-24, 23:12:30
Cloning GS sites to new domains - by marrco - 2012-03-24, 23:57:15
RE: Cloning GS sites to new domains - by hoemaco - 2019-09-03, 23:37:35
Cloning GS sites to new domains - by Mark Nielsen - 2012-03-25, 01:03:35
Cloning GS sites to new domains - by shawn_a - 2012-03-25, 01:25:43
Cloning GS sites to new domains - by grassfrog - 2012-03-25, 10:58:25
Cloning GS sites to new domains - by grassfrog - 2012-03-25, 12:17:03
Cloning GS sites to new domains - by Carlos - 2012-03-25, 17:03:20
Cloning GS sites to new domains - by grassfrog - 2012-03-26, 03:36:49
RE: Cloning GS sites to new domains - by jorre - 2013-03-21, 22:30:27



Users browsing this thread: 1 Guest(s)