How do I set up a subdomain in Joomla 1.5? I have a classifieds component and want to show each category URL as its own subdomain URL. For example, if I select the electronics category then it will show electronics.mysite.com.
I want it to be just like http://www.nintendolife.com
idea 1: Wait for an SEO extension to add it as a feature, like Artio
idea2: You need to wildcard your subdomains in DNS/Apache, then add a full url link to your top level nav in the Joomla menu manager as a link: http://electronics.mysite.com/whatever-it-points-to
[You could also add .htaccess redirects but it won't retain the full URL without the wildcard passthrough above and function normally on subpages]
Related
I have a Prestasop 1.7 based store. I changed a product URL. People can find this product from Google. But they can't access the product page, because the product page URL has changed. So I need to add 301 redirect rule for old URL to new URL. How can I do that?
It's a better option to disable the product and create the same product as a new product instead of changing the product URL. In this way, you can redirect the old product to the new product in product editing page easily.
You have two ways to do that, edit the .htaccess (if you have apache based web server) or to install a module.
If you choose the .htaccess, create a 301 redirect is quite simple, here an example:
<ifModule mod_rewrite.c>
Redirect 301 /old-cat/old-url.html http://www.youdomain.com/new-cat/new-url.html
</ifModule>
Insert this rule before the rules of PrestaShop.
More info here
The other way, the module, you can install a module like this that simplify the operation.
UPDATE:
Like #Agah Toruk says
It's a better option to disable the product and create the same product as a new product instead of changing the product URL. In this way, you can redirect the old product to the new product in product editing page easily.
Enojoy
You don't need any module or htaccess line in this case.
Just activate the canonical redirect in parameters > SEO. Canonical redirect are made for this need.
Hope it helps
In my joomla project,I have a page which shows a list of stores and on clicking each store, it takes to a detail page and the link to detail page is now as :
http://www.example.com/component/option,com_location/Itemid,201/lang,en/location,1000/
I need my url to look like
http://example.com/stores/1000
I have enabled seo urls and mode rewrite in global settings.Is their any thing I can do with sh404SEF component?
How can I achieve this?I am a beginner in Joomla.Please advice
Probably this component doesn´t have sef urls through filter/search page.
Try to create hidden menu link to one of the stores (with proper alias) and see if redirect goes to sef link.
i've just finished a website with a database for golf-holidays. Now the clue is, i am using joomla internal url-rewrite to generate short urls which is generally great, i like it. The only thing left for SEO optimization would be, if i could point an individual URL to each offer listed in the database. A url to a specific offer looks like this :
http://www.mydomain.com/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128
"urlaubsangebot.html" would be the detail site, passed with the parameter "oid" for offerID and then the ID of the offer in my database.
Would it be possible to create a rule / use a tool where i would be agle to assign a custom URL to every offer? For example :
NewURL
http://www.mydomain.com/offers/spain/my-offer-name.html
OldURL
http://www.mydomain.com/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128
I tried using tools such as SEF404 and JoomSEF but they rather break my whole structure than help me apply these urls. Any ideas?
Joomla 1.6+ is shipped with Redirect Manager (Components > Redirect). It's designed exactly for this purpose (redirecting old urls to new ones).
Joomla 1.6 will include a new component and plugin called Redirect.
Its main function is to provide a mechanism to record 404 "not found"
errors, and to give the Web site owner the ability to redirect those
to another page if desired.
If there are links to your site that result in error 404, these should be already populated in the list when you open the manager - you just have to add new urls to which to redirect to.
References:
A preview of link redirection in Joomla 1.6
You can use the .htaccess rewrite rules for that:
RewriteEngine On
RewriteRule ^(offers/spain/my-offer-name.html)$ index.php?option=com_mycomponent&oid=128 [L]
I am Using Joomla 2.5, I am using extension Enmass for site, I have make SEO URL from Admin but URL will show like this
http://abc.com/index.php/component/enmasse/deal/view/8/evo_in_line_foldable_scooter_black
I need to rewrite this URL to
http://abc.com/evo_in_line_foldable_scooter_black.html
I had tried to change in .htaccess but i didnt success.
If any one has idea for this please let me know.
You can create a menu item within Joomla for this Enmass view and it will create this URL.
The URL you see is created by the Joomla JRoute class if no menu item (Itemid) is passed together with the raw URL.
Also the extension can set up its own routing rules with the router.php file (/components/com_enmasse/router.php).
I am migrating an asp site to drupal.the existing site node URL is as
story.asp?sectioncode=1&storycode=49667&c=1
to use the same urls in drupal site i add the URL in URL aliases.when i click on any article it it showing as
story.asp%3Fsectioncode%3D1%26storycode%3D49667%26c%3D1
in the browser.how to remove %3D,%26,%3F from the URL and when i copy and paste the old url in the browser it is not redirecting me to the actual page giving 404 not found page.could some one please help me how to manage my old URLs as it is in new site.
You're not supposed to type something like story.asp?sectioncode=1&storycode=49667&c=1 as an URL alias.
There's a better way to do that. Try installing redirect module and add a new 301 redirect rule from story.asp?sectioncode=1&storycode=49667&c=1 to your new node's URL node/1.
So, whatever any user / search engine visits story.asp?sectioncode=1&storycode=49667&c=1, they will be redirected to node/1. or whatever the path you have given to the 301 redirect rule.
Hope this Helps... Muhammad.