MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 05, 2009, 08:45 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read
Frequently Asked Questions (FAQ)
MODx Community Forums
»
Add-ons, Extensions & Elements
»
E-business
(Moderator:
zi
)
»
Support/Comments for SEO Strict URLs
Pages: [
1
]
2
3
...
5
Go Down
« Previous topic
Next topic »
Print
Author
Topic: Support/Comments for SEO Strict URLs (Read 20211 times)
0 Members and 1 Guest are viewing this topic.
ApoXX
Coding Team
Posts: 131
Support/Comments for SEO Strict URLs
«
on:
Feb 24, 2007, 05:12 PM »
This is an auto-generated support/comment thread for
SEO Strict URLs
.
Use this forum to post any comments about this addition or any questions you have regarding its use.
Brief Description:
Enforces the use of unique document URLs to prevent duplicate content.
Logged
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #1 on:
Feb 24, 2007, 05:33 PM »
By the way, to enforce the www on URLs, users can use the following mod_rewrite rule with the Apache webserver:
Code:
# Include the following in your .htaccess file
# Replace "example.com" & "example\.com" with your domain info
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
To enforce URLs without the www, simply remove all references of www. in the htaccess rule:
Code:
# Include the following in your .htaccess file
# Replace "example.com" & "example\.com" with your domain info
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example\.com [NC]
RewriteRule (.*) http://example.com/$1 [R=301,L]
Original SEO Strict URL thread:
http://modxcms.com/forums/index.php/topic,7346.0.html
More information on htaccess rewriting and friendly URL's can be found at:
http://wiki.modxcms.com/index.php/Friendly_URLs_Guide
«
Last Edit: Feb 24, 2007, 05:40 PM by ApoXX
»
Logged
identity
Full Member
Posts: 226
Re: Support/Comments for SEO Strict URLs
«
Reply #2 on:
Mar 10, 2007, 12:27 PM »
This is beyond sweet!! Thanks.
Just installed and getting familiar with, though doesn't seem like much to do, which is even better.
Am running into an issue with the TvTagCloud which passes the tag parameters as:
Code:
www.mydomain.com/info.htm&tags=sometag
Any recommendations on a solution?
Logged
|
Identity Developments
delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity.
| Get the
Website Planning Kit
| Create a
Site by Nite
|
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #3 on:
Mar 10, 2007, 12:35 PM »
Hmm, I don't understand why TV tag cloud formats the URL as they do, I'm not even sure that it's valid. If possible, try formatting the URL as:
Code:
www.mydomain.com/info.htm?tags=sometag
«
Last Edit: Mar 10, 2007, 10:34 PM by ApoXX
»
Logged
identity
Full Member
Posts: 226
Re: Support/Comments for SEO Strict URLs
«
Reply #4 on:
Mar 10, 2007, 12:45 PM »
Okay, I'm assuming I need to dig into their code... not a strong suite, but I think I can manage. I'll let you know.
Another question. I have the xml sitemap snippet and I read in the development thread that this avoids the sitemap.xml.htm issue, which I'm doubly thrilled about... but not sure how to get the TV override to do that since it is setup on a (blank) template. Do I need to create a specific template now but leave it blank and assign the override TV to it???
EDIT: Making the change in the TvTagCloud worked.
«
Last Edit: Mar 10, 2007, 12:55 PM by identity
»
Logged
|
Identity Developments
delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity.
| Get the
Website Planning Kit
| Create a
Site by Nite
|
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #5 on:
Mar 10, 2007, 01:01 PM »
Yup, you will have to create a "blank" template and assign the custom TV to it.
The template code will be blank except for the main content:
[*content*]
Logged
identity
Full Member
Posts: 226
Re: Support/Comments for SEO Strict URLs
«
Reply #6 on:
Mar 10, 2007, 01:10 PM »
I must be doing something wrong, I'm sure.
I setup a new template called Empty.
Placed [*content*] in it.
My sitemap page is set to use that template and is empty except for the sitemap snippet call.
I then set the override TV to Base Name.
Never mind, just realized that I also need to set the plugin configuration to allow manual overrides. Now it works.
This rocks!
cheers
Logged
|
Identity Developments
delivers SEO focused web design and web presence services
- it's not about websites, it's about your identity.
| Get the
Website Planning Kit
| Create a
Site by Nite
|
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #7 on:
Mar 10, 2007, 01:24 PM »
Awesome, I'm glad it's working
Logged
sirlancelot
Coding Team
Posts: 575
PHP, XML, XSL Supporter
Re: Support/Comments for SEO Strict URLs
«
Reply #8 on:
Mar 14, 2007, 04:31 PM »
Quote from: ApoXX on Mar 10, 2007, 01:01 PM
Yup, you will have to create a "blank" template and assign the custom TV to it.
The template code will be blank except for the main content:
[*content*]
Alternatively, if you know MySQL queries, you can sort of "Hack" the automatic blank template to hold this TV in two steps:
Open up
[PREFIX]site_tmplvars
and remember the id of your seoOverride TV
Run this query:
INSERT INTO [PREFIX]site_tmplvar_templates (tmplvarid, templateid) VALUES ( [id], 0 );
Of course, replace [id] with the id of your TV and [PREFIX] with your MODX db prefix. If you don't know MYSQL or how to do the instructions above, just go with ApoXX's method, it's easier. This method just produces less clutter in the templates. There's no other advantages.
Have fun! Only tested on MODx 0.9.5 - 0.9.6
Logged
Matthew Pietz
on
Twitter
,
Ubuntu
,
Lussumo
.
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #9 on:
Mar 14, 2007, 07:22 PM »
Thanks for the tip Sirlancelot.
Logged
Geo88
Member
Posts: 68
ModX greenhorn
Re: Support/Comments for SEO Strict URLs
«
Reply #10 on:
Mar 15, 2007, 04:10 PM »
Hi.I have discovered a inconsistency bug in this version.
I have a container with children , and it's resolved url is something like this:
http://yoursite.com/doc_id/
, but, on the page, in the menu generated by wayfinder it appears like this:
http://yoursite.com/doc_id.html
. Also , This issue doesn't appear for first level items , but only for the children from what I can see.
By the way,is there any intention of implementing the feature request I wanted (the one with the folders with no children to appear as containers-see the old thread) as an official configuration option ?
Logged
almays
Jr. Member
Posts: 48
Re: Support/Comments for SEO Strict URLs
«
Reply #11 on:
Mar 18, 2007, 08:41 AM »
Hello.
I am busy with migrating the site from old phpnuke with urls like
/module.php?name=Pages
to MODx.
In order to keep search engines happy and informed about new addresses of the pages I need to have a way to send 301 redirect, when someone comes to that old page like
/module.php?name=Pages
.
I have made some plugin prototype, which is described at
http://modxcms.com/forums/index.php/topic,13134.0.html
I have also started some discussion in the thread
http://modxcms.com/forums/index.php/topic,8316.0.html
but nothing interesting is there.
The plugin doesn't work yet. Something is wrong there.
I'd like to ask you for the help in developing this new plugin, or just include the described functionality into yours. As soon as it is also about SEO and 301 redirect.
Logged
ApoXX
Coding Team
Posts: 131
Re: Support/Comments for SEO Strict URLs
«
Reply #12 on:
Mar 19, 2007, 10:44 PM »
@Geo88:
I believe I have fixed the issues you reported with sub-folder rewriting. I have also integrated support for correct rewriting of empty containers when using &makeFolder, the new parameter is called &emptyFolders.
Edit: The updated (and confirmed working) code is now available in the repository:
http://www.modxcms.com/SEO-Strict-URLs-1335.html
@almays:
Did you come up with a solution to your plugin yet? .. I saw you had posted something new in the thread. I would be more than happy to integrate the functionality into SEO strict and think it would fit in with the overall purpose of the plugin.
«
Last Edit: Mar 23, 2007, 03:45 PM by ApoXX
»
Logged
pixelchutes
Coding Team
Posts: 839
Re: Support/Comments for SEO Strict URLs
«
Reply #13 on:
Mar 23, 2007, 07:29 PM »
Nice! v1.0.1 corrected the weird 404 behavior I was experiencing when alias_path was OFF. Now it sends proper 404 HTTP response again
Logged
Mike Reid -
www.pixelchutes.com
MODx Team Member / Contributor
[Module]
SiteSearch
/ [Snippet]
DocPassword
/ [Plugin]
EditArea
/ We support
FoxyCart
________________________________
Where every
pixel
matters.
Hypercubed
New Member
Posts: 4
Re: Support/Comments for SEO Strict URLs
«
Reply #14 on:
Mar 27, 2007, 11:30 PM »
Is this plugin incompatible with the FileDownload Plugin? The two don't play nicely on my site.
Logged
www.hypercubed.com
Pages: [
1
]
2
3
...
5
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> Front-end Document Management
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.3
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Webworker Lounge
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
International Support & Translations
-----------------------------
=> Internationalization
=> Bulgarian
===> Поддръжка
=====> Често задавани въпроси
=====> Инсталация
=====> Модули, Плъгини, Снипети и код
=====> Дизайн и Шаблони
===> Документация, Ръководства и Превод
=====> Документация
=====> Ръководства
=====> Превод
===> Общество
=====> Съобщения
=====> Представете се
=====> Представете сайта си
=====> Дискусии извън MODx
=> Chinese
=> Czech
===> Oznámení
=====> Důleitá oznámení/novinky
=====> Bezpečnost
===> Komunita
=====> Oznámení
=====> Představte se, prosím
=====> Ukázky práce
=====> Různé aneb cokoli co se jinam nehodí
===> Podpora
=====> FAQ (často kladené otázky)
=====> Instalace
=====> Moduly, pluginy, "snippets & code" (ablony zdrojových kódů)
=====> Design & ablony
===> Dokumentace, tutoriály (návody) a překlady
=====> Dokumentace
=====> Tutoriály (návody)
=====> Překlady (lokalizace)
=> Dutch
===> Ondersteuning
=====> Veel gestelde vragen
=====> Modules, Plugins, Snippets & Code
=====> Design & Templates
===> Documentatie, Tutorials en Vertalingen
=====> Documentatie
=====> Tutorials
=====> Vertalingen
===> Community
=====> Aankondigingen
=====> Stel jezelf voor
=====> Site Showcase
=====> De stamkroeg
=> Filipino
===> Suporta
=====> Kadalasang tanong
=====> Instalasyon
=====> Moduler, Maidadagdag, Karagdagang mga Code
=====> Desenyo at Templates
===> Dokumentasyon, Mga Turo, Mga Salin
=====> Dokumentasyon
=====> Mga Turo
=====> Mga Salin
===> Kumunidad
=====> Anunsyo
=====> Ipakilala ang sarili
=====> Ang Galing ng pinoy
=====> Tsismisan atbp
=> Finnish
===> Tuki
=====> UKK
=====> Asennus
=====> Moduulit, liitännäiset, koodinpätkät
=====> Ulkoasu/Sivustopohjat
===> Dokumentaatio, oppaat ja käännökset
=====> Dokumentaatio
=====> Käännökset
=====> Oppaat
===> Yhteisö
=====> Tiedotteet
=====> Esittele itsesi
=====> MODx sivustosi
=====> Kahvihuone
=> French
===> Support
=====> FAQ
=====> Installation
=====> Module, plugin, snippets
=====> Design/Templates
===> Documentation, Tutoriels et Traductions
=====> Documentation
=====> Traduction
=====> Tutoriels
===> Communauté
=====> Annonces
=====> Présentez vous
=====> Vos sites
=====> Le Bistrot Français
=> German
===> Support (de)
=====> FAQ (de)
=====> Installation (de)
=====> Module, Plugins, Snippets & Code (de)
=====> Design & Templates (de)
===> Dokumentation, Tutorials und Übersetzung
=====> Dokumentation
=====> Tutorials (de)
=====> Übersetzung
===> Community (de)
=====> Ankündigungen
=====> Stellt Euch vor
=====> Beispielseiten
=====> Off Topic / Verschiedenes
=> Hebrew
===> הכרזה
=====> חדשות חשובות
=====> אבטחה
===> תמיכה
=====> התקנה
=====> תיעוד, מדריכים ותרגומים
=====> עיצוב ותבניות
=====> שאלות נפוצות
===> תיעוד, מדריכים ותרגומים
=====> תיעוד
=====> מדריכים
=====> תרגומים
===> קהילה
=====> הודעות
=====> הצג את עצמך
=====> אתרים לדוגמא
=====> כללי
=> Irish
=> Italian
===> Supporto
=====> FAQ
=====> Installazione
=====> Moduli, Plugin, Snippet e altro codice
=====> Web Design e Template
===> Documentazione, Tutorial e Traduzione
=====> Documentazione
=====> Tutorial
=====> Traduzione
===> Comunitŕ
=====> Annunci
=====> Presentazioni
=====> Siti in vetrina
=====> Chiacchiere in libertŕ
=> Japanese
===> サポート
=====> 良くある質問
=====> インストール
=====> モジュール・プラグイン・スニペット・本体
=====> デザインやテンプレート
===> マニュアル・テュートリアル・翻訳
=====> マニュアル
=====> 事例集、テュートリアル
=====> 日本語化
===> コミュニティ
=====> お知らせ
=====> MODxサイト展示場
=====> 自己紹介
=====> 雑談
=====> 国産リソース
=> Persian - فارسي
===> پشتيباني
=====> راهنما
=====> نصب
=====> ماژول , پلاگین ها , کد ها و جزییات
=====> طراحی و قالب ها
===> مستند سازی , آموزش ها و ترجمه ها
=====> مستند سازی
=====> آموزش ها
=====> ترجمه ها
===> انجمن ها
=====> اخبار
=====> معرفی کردن خود
=====> نمایش دادن سایت ها
=====> بحث های عمومی و سایر موضوعات
=> Polish
===> Wsparcie
=====> FAQ
=====> Instalacja
=====> Moduły, pluginy, snipety i kod
=====> Wygląd i szablony
===> Dokumentacja, tutoriale i tłumaczenie
=====> Dokumentacja
=====> Tutoriale
=====> Tłumaczenie
===> Społeczność
=====> Ogłoszenia
=====> Przedstaw się
=====> Twój serwis WWW
=====> Hyde Park
=> Portuguese
===> Suporte
=====> FAQ - Dúvidas Frequentes
=====> Instalaçăo
=====> Módulos, Plugins, Snippets e Código
=====> Design e Templates
===> Documentaçăo, Guias e Traduçőes
=====> Documentaçăo
=====> Guias
=====> Traduçőes
===> Comunidade
=====> Anúncios
=====> Apresente-se!
=====> Bar da esquina (fora de tópico)
=====> Portfólio de Sites
=> Russian
===> Поддержка
=====> ЧАВО (FAQ)
=====> Установка
=====> Модули, плагины, сниппеты и код
=====> Дизайны и шаблоны
===> Документация, Уроки, Перевод
=====> Документация
=====> Уроки
=====> Перевод
===> Сообщество
=====> Объявления
=====> Представьтесь публике
=====> Галерея сайтов
=====> Диван
=> Scandanavian
===> Support
=====> Frĺgor och svar
=====> Installation
=====> Moduler, plugins, snippets och kod
=====> Design & sidmallar
===> Dokumentation, guider och översättningar
=====> Dokumentation
=====> Guider
=====> Översättningar
===> Webbgemenskap
=====> Meddelanden
=====> Presentera dig själv
=====> Visa upp dina webbsidor
=====> Ordet fritt
=> Slovak
=> Spanish
===> Soporte
=====> FAQ
=====> Instalación
=====> Modulos, Plugins, Snippets & Código
=====> Diseńo y plantillas
===> Documentación, Tutoriales y Traducciones
=====> Documentatción
=====> Tutoriales
=====> Traducciones
===> Comunidad
=====> Anuncios
=====> Presentaciones personales
=====> Muestra de sitios
=====> El Café
=> Swedish
=> TÜRKÇE (Turkish)
===> Destek
=====> SSS
=====> Kurulum
=====> Modüller, Pluginler, Snippetlar & Kodlar
=====> Dizayn & Temalar
===> Belgeleme, Eğitmenler ve Çeviri
=====> Belgeleme
=====> Eğitmenler
=====> Çeviri
===> Topluluk
=====> Duyurular
=====> Kendinizi Tanıtın
=====> Site Vitrini
=====> Konu Dışı