|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Website Optimizer Dynamic Page Help
Hello
I am running a shopping cart that has dynamic pages but it has a built in SEO module and rewrites all the URL's to appear static. The index.php calls index.tpl. A template used throughout the entire site. WO tags need to be in the header which is in index.tpl. I've inserted all the code in my original page, test page and conversion page. Google verified the tags, and when I visit the page it cookies me and redirects me to either my original page or test page (home.php) The problem i'm having is when I try to begin to navigate the site I am always being redirected back to home.php. The htaccess file used with the shopping cart is below, is this affecting website optimizer if so what can I change for it to let me navigate the site and let WO function correctly. I know I can just create a static landing page for index.php, my test page home.php is just a static version of the index which I made but if I could get it to work with the templates I rather do that. Any suggestions would be appreciated Thanks DirectoryIndex index.html index.php <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] </IfModule> |
|
#2
|
|||
|
|||
|
To my mind that RewriteRule looks wrong. Without knowing how the script works to convert the static URLs I can't really suggest a possible solution.
Perhaps go back to the installation instructions and check that you haven't made any errors, or contact the developer?
__________________
New to SEO? SEOChat SEO FAQs Forum Rules and Posting Guidelines URL canonicalization code solutions |
|
#3
|
|||
|
|||
|
website optimizer validated all the pages the tracking code was placed correctly and the company for the shopping cart gave me no info on getting WO to work. I'm trying to think of a way to create a custom template that will only be shown on the index / home page then include the tracking code in it but i don't know what to do about the header tags that it needs to be in.
|
|
#4
|
||||
|
||||
|
I dont think your problem has anything to do with Google optimizer, as you said Google optimizer will validate the URLs before but if the URLs returning 404 ore any kind of redirection Google optimizaer will not work for you ... the second part of applying Google optimiser for your website will be embeding some JS code which also will not cause any problems for your URLs
__________________
SEO Services Toronto , SEO at a Glance.. , Inbound Links Forum Toronto SEO Consultant, Join SEO Toronto Meetup |
|
#5
|
|||
|
|||
|
The template I had the tracking code had the header tag and it was a global template so all pages used that header tag. Anytime I tried to view another page it would run the script and redirect me to the page i was assigned. I've fixed this by placing the tracking code outside of the header tag and in another template which only shows up on the main page. There is a slight delay but it seems to be working, I just need to setup some new tests and check.
Quote:
|
![]() |
| Viewing: SEO Chat Forums > Other > SEO Scripts > Website Optimizer Dynamic Page Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|