View Full Version : SEO of information pages
Red Flare
03-29-06, 01:27 PM
Hello everyone!
I am creating an information section for my site. I have an option of creating the info pages within MIVA or outside of it. From a SEO point of view, which is the better way to create those pages?
thanks for any input
jason - jmh web services
03-29-06, 02:14 PM
Hello everyone!
I am creating an information section for my site. I have an option of creating the info pages within MIVA or outside of it. From a SEO point of view, which is the better way to create those pages?
thanks for any input
Stick with the miva pages. The title and content are bigger issues.
Jason
Are you using URL rewriting?
Are your URLs like this?
/info.html
Or like this?
merchant.mvc?Screen=INFO
Red Flare
03-31-06, 06:54 AM
Well, there is going to be quite a bit of separate Info and Help pages. I am not terribly familiar with rewriting the links. I briefly glanced at the rewriting procedures and I think it is fairly easy to rewrite the PROD and CTGY pages, which I am planning on doing. The Info pages will be a bunch of separate once. So I don't know if I will ever get to rewriting the info pages. My gut feeling tells me to put them outside of MIVA, so they would be like /info.html.
Am I on the right track?
thanks for any help
jason - jmh web services
03-31-06, 02:03 PM
Well, there is going to be quite a bit of separate Info and Help pages. I am not terribly familiar with rewriting the links. I briefly glanced at the rewriting procedures and I think it is fairly easy to rewrite the PROD and CTGY pages, which I am planning on doing. The Info pages will be a bunch of separate once. So I don't know if I will ever get to rewriting the info pages. My gut feeling tells me to put them outside of MIVA, so they would be like /info.html.
Am I on the right track?
thanks for any help
Just adapt this code (http://www.jmhonline.net/seo-links) from a v4 mod and use something like /info-aboutus.html /info-contactus.html /info-local.html and so on
Jason
Red Flare
03-31-06, 02:20 PM
Just adapt this code (http://www.jmhonline.net/seo-links) from a v4 mod and use something like /info-aboutus.html /info-contactus.html /info-local.html and so on
I am using miva 5. Looks like that module is for miva 4 only.
To me it feels like its a bigger pain to create pages within miva, since I cannot clone them. I have to manually create each page, paste the code, turn on the items, etc., while if I just place ready made html pages into htdocs folder they will appear on the site. Of cours I would need to hard code the category tree on the info pages.
I am more concerned with search engines not indexing my information pages within miva since they will have the long urls.
thanks for the response
alex
jason - jmh web services
03-31-06, 03:13 PM
I am using miva 5. Looks like that module is for miva 4 only.
To me it feels like its a bigger pain to create pages within miva, since I cannot clone them. I have to manually create each page, paste the code, turn on the items, etc., while if I just place ready made html pages into htdocs folder they will appear on the site. Of cours I would need to hard code the category tree on the info pages.
I am more concerned with search engines not indexing my information pages within miva since they will have the long urls.
thanks for the response
alex
I didn't recommend the module. Go back and look at the code for the rewrite. It is quite simple if you have a decent host. Creating them in miva is easy too. Just code one new page and reuse the code from that template for each new page while just changing the content. Search engines will index the "long" urls but you won't have to worry about that with the rewrite for this mod.
Jason
Red Flare
03-31-06, 03:29 PM
Go back and look at the code for the rewrite. It is quite simple if you have a decent host.
Jason
Am I understanding the code correctly? Lets say I create pages called INFO, INFO1 and INFO2 in miva, then I would have to add these lines of code into .htacces file
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO&Search=$1 [T=application/x-httpd-mvc]
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO1&Search=$1 [T=application/x-httpd-mvc]
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO2&Search=$1 [T=application/x-httpd-mvc]
Right?
:confused:
jason - jmh web services
03-31-06, 03:37 PM
Am I understanding the code correctly? Lets say I create pages called INFO, INFO1 and INFO2 in miva, then I would have to add these lines of code into .htacces file
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO&Search=$1 [T=application/x-httpd-mvc]
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO1&Search=$1 [T=application/x-httpd-mvc]
RewriteRule ^s-([^.]+).*$ merchant.mvc?Screen=INFO2&Search=$1 [T=application/x-httpd-mvc]
Right?
:confused:
Not quite. The examples have a different start for each one while you have it the same for all of them (i.e. ^s)
You should probably only use one
RewriteEngine on
RewriteRule ^info-([^.]+).*$ /mm5/merchant.mvc?Screen=$1 [T=application/x-httpd-mvc]
Then your links would be like
http://www.yourdomain.com/info-aboutus.html
http://www.yourdomain.com/info-contactus.html
http://www.yourdomain.com/info-andsoon.html
Jason
Red Flare
03-31-06, 04:32 PM
Then your links would be like
http://www.yourdomain.com/info-aboutus.html
http://www.yourdomain.com/info-contactus.html
http://www.yourdomain.com/info-andsoon.html
Jason
Sorry, I am really new to miva and programming in general. :o I am assuming that I would create pages in miva with the names: info-aboutus, info-contacus, info-andsoon?
jason - jmh web services
03-31-06, 04:36 PM
Sorry, I am really new to miva and programming in general. :o I am assuming that I would create pages in miva with the names: info-aboutus, info-contacus, info-andsoon?
no worries. No, you create pages/screens in miva called aboutus, contactus, and-so-on-and-so-forth
i.e. Screen=$1
You create links to them like
http://www.yourdomain.com/info-contactus.html
Red Flare
03-31-06, 04:50 PM
Oh, I see. Because this part of code ^info-([^.]+) implies that pages are going to be starting with the word "info".
So when I create my info pages in MIVA, its going to ask me for a page code. What should I put in that window?
For example this page on my site we created and called it "ABT" http://www.redflarekits.com/mm5/merchant.mvc?Screen=ABT&Store_Code=rfes
i.e. Screen=$1 Didn't understand this?
jason - jmh web services
03-31-06, 04:58 PM
Oh, I see. Because this part of code ^info-([^.]+) implies that pages are going to be starting with the word "info".
So when I create my info pages in MIVA, its going to ask me for a page code. What should I put in that window?
For example this page on my site we created and called it "ABT" http://www.redflarekits.com/mm5/merchant.mvc?Screen=ABT&Store_Code=rfes
You would put ABT. If it was for a contact page, you would put contactus or just contact.
i.e. Screen=$1 Didn't understand this?
$1 is like a token. It expects you to fill that part out. i.e. ABT i.e. http://www.yourdomain.com/info-ABT.html
Red Flare
03-31-06, 05:20 PM
I feel like I am missing something. :confused: :o
1. I create pages in miva called, for example: SMK, CBN and GD
2 I enter this line in .htacces file:
RewriteEngine on
RewriteRule ^info-([^.]+).*$ /mm5/merchant.mvc?Screen=$1 [T=application/x-httpd-mvc]
3. My links are magically rewritten to this:
http://www.yourdomain.com/info-SMK.html
http://www.yourdomain.com/info-CBN.html
http://www.yourdomain.com/info-GD.html
Am I at least almost there? Please tell me yes! :)
thanks for all your help!
jason - jmh web services
03-31-06, 05:55 PM
I feel like I am missing something. :confused: :o
1. I create pages in miva called, for example: SMK, CBN and GD
2 I enter this line in .htacces file:
RewriteEngine on
RewriteRule ^info-([^.]+).*$ /mm5/merchant.mvc?Screen=$1 [T=application/x-httpd-mvc]
3. My links are magically rewritten to this:
http://www.yourdomain.com/info-SMK.html
http://www.yourdomain.com/info-CBN.html
http://www.yourdomain.com/info-GD.html
Am I at least almost there? Please tell me yes! :)
thanks for all your help!
Basically, yes. You put the links in the store yourself wherever you want them. Also, you might want to add your store code to the rewrite in case you add another store.
Jason
Red Flare
04-01-06, 10:49 AM
Also, you might want to add your store code to the rewrite in case you add another store.
Where would I add my store code?
jason - jmh web services
04-01-06, 03:20 PM
Where would I add my store code?
RewriteRule ^info-([^.]+).*$ /mm5/merchant.mvc?Store_Code=yourstorecode&Screen=$1 [T=application/x-httpd-mvc]
Red Flare
04-07-06, 01:14 PM
Thanks
That worked like a charm.:D
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.