You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Okay I tried to understand the manual for the HDSEO until I just threw my hands up.
I am asking for help.
I am having trouble understanding the exact way to configure the .htaccess file to create user friendly names.
Here is my .htaccess file contents. I am only trying to redirect one url for now.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^ecom-prodshow/utbb\.html$ http://uncletim.com/books/uncle-tims-bu … locks.html [L,R=permanent]
RewriteRule ^/books/uncle-tims-building-blocks.html$ ecom-prodshow/utbb.html
RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT]
The cart is outputting this url.
http://uncletim.com/ccp7/ecom-prodshow/UTBB.html
I want it to look like this.
http://uncletim.com/ccp7/books/uncle-ti … locks.html
In addition to this I believe the HDSEO module inside the management interface needs to look like this.
Clone Update Delete Default SEO URL High Definition SEO URL
Clone Update Delete /ecom-prodshow/utbb.html /uncle-tims-building-blocks.html
Can someone please tell me if this looks right or correct my syntax.
Thank you.
If anyone from Kryptonics would care to discuss the manuals for any of these products, in the effort to make them more valuable, please let me know. I believe I have a world of insight to share.
Offline
Uncletim wrote:
Code:
Options +FollowSymLinks RewriteEngine on RewriteRule ^ecom-prodshow/utbb\.html$ http://uncletim.com/books/uncle-tims-building-blocks.html [L,R=permanent] RewriteRule ^/books/uncle-tims-building-blocks.html$ ecom-prodshow/utbb.html RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT]The cart is outputting this url.
http://uncletim.com/ccp7/ecom-prodshow/UTBB.html
I want it to look like this.
http://uncletim.com/ccp7/books/uncle-ti … locks.html
Let's back up just a little and try to get this working without the books directory in the URLs then go from there. First off, since you have CCP7 in a separate directory named ccp7 the rewrite rules need to include it.
Try changing the second rule to:
RewriteRule ^ccp7/uncle-tims-building-blocks.html$ ccp7/ecom-prodshow/utbb.html
and delete the first rule so you end up with:
Options +FollowSymLinks RewriteEngine on RewriteRule ^ccp7/uncle-tims-building-blocks.html$ ccp7/ecom-prodshow/utbb.html RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT]
Uncletim wrote:
In addition to this I believe the HDSEO module inside the management interface needs to look like this.
Code:
/ecom-prodshow/utbb.html /uncle-tims-building-blocks.html
That looks correct but without the extra "books" directory you have in the rewrite rules. I'd suggest starting off with getting the basic rewrite correct then go for adding the books level into something that's working.
Uncletim wrote:
If anyone from Kryptonics would care to discuss the manuals for any of these products, in the effort to make them more valuable, please let me know. I believe I have a world of insight to share.
The would be the ideal place to discuss the manuals sir.
Offline
Thanks Dave:
I get the same output. It continues to output the url. http://uncletim.com/ccp7/ecom-prodshow/UTBB.html
I wonder if I am missing something?
I actually copied your .htaccess attempt and copied it in and then redid my HDSEO info in the program. But no difference at all.
I even deleted the existing .htaccess in the web root directory and re uploaded this new file. Still no behavior difference.
Yes SEO is turned on (true) but SID in URLs is false.
I am putting the .htaccess file in the root directory of the site.
Can you think of anything else that is getting in the way?
Thanks.
Offline
If your HD SEO definitions in admin haven't changed from what you originally posted please post a copy of .htaccess as it is now.
Offline
Options +FollowSymLinks RewriteEngine on RewriteRule ^ccp7/uncle-tims-building-blocks.html$ ccp7/ecom-prodshow/utbb.html [L,R=permanent] RewriteRule ^ccp7/uncle-tims-book-of-chords.html$ ccp7/ecom-prodshow/utbc.html [L,R=permanent] RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT] HD SEO definitions Clone Update Delete Default SEO URL High Definition SEO URL Clone Update Delete /ecom-prodshow/utbb.html /uncle-tims-building-blocks.html Clone Update Delete /ecom-prodshow/utbc.html /uncle-tims-book-of-chords.html
Offline
Dave is this statement backwards?
RewriteRule ^ccp7/uncle-tims-building-blocks.html$ ccp7/ecom-prodshow/utbb.html [L,R=permanent]
Tim G.
p.s. I am going to try it and see
Offline
Sorry I didn't notice this earlier but there's a difference between UTBB.html and utbb.html. You're using utbb.html in the HD SEO definitions and .htaccess but the actual URL is UTBB.html. You're on a Linux server so case matters. Try changing either the identifier or the HD SEO definition and .htaccess so the case matches and see what you get.
Offline
No that did not work. the files are the same as listed above.
Offline
Thanks for that, should have seen it.
But now when I click on the product it gives me this.
http://uncletim.com/home/uncletim/publi … /UTBB.html
I am now mixing up my absolute and relative url. This seems like a simple pathing issue.
Getting close!
Offline
Somewhere along the line you introduced home/uncle_tim/public_html into a rewrite rule or something sir. Hard to tell from here though.
Offline
My head hurts!
I think this is wrong.
RewriteRule ^ccp7/uncle-tims-building-blocks.html$ ccp7/ecom-prodshow/utbb.html [L,R=permanent]
My understanding is the first line is the default url and the second statement after the $ is the HiDef url.
It seems like it should be like this.
RewriteRule ^ecom-prodshow/utbb.html$ http://uncletim.com/uncle-tims-building-blocks.html [L,R=permanent]
That is how the manual shows it. Am I all screwed up?
If I do it like I described above, then I get a return url like this.
http://uncletim.com/ccp7/uncle-tims-bui … locks.html
But the page is empty and I get a 404 error.
Thanks for looking.
Offline
Besides wouldn't I need to escape the .html, like this
RewriteRule ^ccp7/uncle-tims-building-blocks\.html$ ccp7/ecom-prodshow/utbb.html [L,R=permanent]
Offline
Each HD rewrite requires 2 rewrite rules in .htaccess. One to take it from the HD name to the basic CCP SEO style and one to take it from the basic style to the HD style. The very last rule only understands the basic SEO style.
As shown in the 2nd screen shot on page 8 of the HD SEO manual there needs to be a rule for each direction.
Offline
I agree:
Wouldn't the .htaccess file then look like this?
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^ecom-prodshow/UTBB\.html$ http://uncletim.com/uncle-tims-building-blocks.html [L,R=permanent]
RewriteRule ^uncle-tims-building-blocks.html$ /ecom-prodshow/UTBB.html
RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT]
After reading the manual again, this is still what I walk away with.
Thanks.
Offline
Okay maybe I can make this easier.
Here is my .htaccess file. It seems to work.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^ecom-prodshow/UTBB\.html$ http://uncletim.com/uncle-tims-building-blocks.html [L,R=permanent]
RewriteRule ^uncle-tims-building-blocks.html$ /ecom-prodshow/UTBB.html
RewriteRule ^ccp7/(.*)-(.*)/(.*)\.html ccp7/index.php?app=$1&ns=$2&ref=$3 [L,PT]
When I click on
http://uncletim.com/ccp7/ecom-prodshow/UTBB.html
I go here.
http://uncletim.com/ccp7/uncle-tims-bui … locks.html
So I can live with that. But now that page is empty. (404 error).
Here is what my HDSEO program settings look like.
Clone Update Delete Default SEO URL High Definition SEO URL
Clone Update Delete /ecom-prodshow/UTBB.html /uncle-tims-building-blocks.html
So why does it could up a 404 error. If I can just get the page to render I would be happy, however I have no idea of what the page pathing needs to be to render correctly.
Is that easier to figure out?
Thanks.
Offline
RewriteRule ^ccp7/ecom-prodshow/UTBB\.html$ http://uncletim.com/ccp7/uncle-tims-building-blocks.html [L,R=permanent]
I'm going to have Jeff take a peek at this thread since he wrote the book on this
Offline
Dave,
Maybe you can explain the logic behind the HDSEO url change but as I see it, it's going like this
HDSEO_url > SEO_url > Basic_url
my question is why the extra step, changing it to standard seo urls, why can't it be
HDSEO > Basic_url ?
I had it working both way in the beta tests that I did.
John
Offline
Thanks Dave:
I do appreciate your help.
Tim G.
Offline
Hi...now I must admit, I'm only a trained monkey...I just pasted yours into my normal .htaccess file to see what didn't match. I made it match mine. I hope it helps.
RewriteRule ^ccp7/ecom-prodshow/UTBB\.html$ http://www.uncletim.com/ccp7/uncle-tims-building-blocks [L,R=permanent]
Offline
Hi Jeff:
I just changed mine but it still redirects to http://uncletim.com/ccp7/uncle-tims-bui … locks.html
Which gives me a 404 error. the redirect looks good, but the page is missing.
Tim G.
Offline
dh783 wrote:
Maybe you can explain the logic behind the HDSEO url change but as I see it, it's going like this
HDSEO_url > SEO_url > Basic_url
my question is why the extra step, changing it to standard seo urls, why can't it be
HDSEO > Basic_url ?
I had it working both way in the beta tests that I did.
There isn't enough information in a HD URL to know whether or not it's for a category, product or some other page. It has to get back to a basic SEO style rule so the last rewrite knows the correct components for things to come out correctly.
Offline
Jeff:
I can get the routine to redirect to http://uncletim.com/ccp7/uncle-tims-bui … locks.html
But there is nothing there once redirected. So my problem seems to be there is nothing there once I redirect.
How do I make it find the real page.
Does that make sense?
Offline
Hi Tim,
In the HDSEO manager, try removing the .html at the end of the Hi Def SEO.
Offline
I don't get it:
I changed the HDSEO by removing the .html
And the redirect then went to, http://uncletim.com/ccp7/uncle-tims-building-blocks
So it redirected to the right url, it's just that there is no page there. Shouldn't the right page just pop up?
Why do I get the 404 error?
I feel like I am missing some piece of information.
Offline
The 404 indicates that the correct rewriting isn't taking place. Obviously there are no HTML pages within CCP nor any pages without a file extension at all. Things seem so darn close!
Offline