How to create subdomain & add city name in joomla virtuemart? - url

I'm using Joomla 2.5 & Virtuemart.
I have website like yellow pages. I have to show records city wise.
I have enabled SEO & enabled .htaccess.
Currently my url is
http://localhost/mywebsite/yellowpages
Now i want if i'm accessing from toronto then it should be
http://yellowpages.mywebsite.com/toronto
how can i do this??

The subdomain part of this has to be configured in your hosting panel when you put the website on a live server. Joomla doesn't care where it is installed whether it's a sub domain, root domain, or subfolder. Just set up your hosting to have the subdomain you want then install your joomla there.
As for adding the city name you will need to do the following -
Create a Virtuemart category for each city
Create a top level menu item for each city you are using
If you need to make the links to the cities submenus, then you will want to create the menus in a hidden menu, then use menu aliases where ever you want the links to show. This will insure that the URL is subdomain.domain.com/menu-item-alias

Related

Article alias not show in browser url in Joomla 3.0

My doubt is about the urls:
In Joomla 3.0 I proceed steps for SEO, rename the .htaccess etc.
But example if I create one article with alias: article-url-teste.
I go the menu create one sub-menu item with the same alias for single article.
When I click in submenu item in fontend the article show me ok but the url site/article-url-teste not show, show me the alias the root menu.
I like show alias of the articles.
Joomla SEF urls are not magic bullets in that once enabled you can access any article using the alias. What you described is the correct behavior for how you configured the menu. If you want to be able to access the article directly using the alias you need to create a dedicated menu item.
I usually created a dedicated menutype called Placement or Hidden with articles and any other endpoint I need to be SEF alias accessible. The only major difference being you don't attach the menutype to a mod_menus module for display.

OpenCart SEO URLs -> Links are not rewrited?

Fresh install of OpenCart, ive tried to enable URL Rewriting (SEO URLs) in the Admin Panel ..
I set up all my .htaccess correctly (but its obvious that this is not the problem)
Because : All links on the website ARE NOT REWRITED and still use $_GET['route'] value in it .. Example, the "My Account" link point to :
http://notjunk.ca/index.php?route=account/account
instead of
http://notjunk.ca/account/
(or something like this, i dunno im new to OpenCart)
I tried to clear the cache in system/cache/* but it doesnt works
How can I have URL without "index.php?route=XY" and instead, the $_GET['route'] contents is the URL itself (usually, like other CMS does) ?
Thanks !
Unfortunately this is not something that is available in OpenCart by default. Only the Products, Categories, Manufacturers and Information pages allow you to customise the urls through the use of their SEO Keyword field
However, there are commercial extensions available to do this such as this one

Umbraco multi-site: traffic is redirected to top-most content site

I've installed Umbraco v6.1.6 locally and finished developing multiple-skinned site. Each skin has its own IIS site and application pool and use the same umbraco instance. Everything is working as expected in this local setup.
But when I tried going live it didn't go smoothly as expected. :/
The structure is somewhat like so:
Site-A
EN
Home
ES
Home
Site-B
EN
Home
ES
Home
I've configured Site-B with IIS to use my owned domain and the EN, ES languages to use the domain/EN, domain/ES respectively. The skin and language nodes have a macro that reads a picked content to navigate to, and I've configued each one to navigate to the Home page.
The macro fails because Umbraco sets Model object to be Site-A's, even though I'm seeing the Site-B's address in the browser's address bar.
Why Umbraco ignores my hostname settings and sets a different node from a non-hostnamed site as my Model object ? How can I fix this issue ?
Thanks for the helpers and readers (!)
If I understand your setup well, you created different sites pointing to the same folder on your disk.
If so, stop doing so. Create just one "iis site", and add the different bindings (domain names) to the single site.
Then right click on your root nodes (SITE-A) and add the hostname. Click on the Language node (EN) and only add a culture (no domain name). Repeat this for other sites and language nodes.
Your site will now automatically pop up when the hostname matches.

Fine control over Joomla URLs

I would like to convert my existing website to Joomla. However, I need finer control over URLs than I seem to be able to control with Joomla. Assuming that Joomla is installed in the base public_html directory of my user, I would like these pages to keep their URLs:
http://dotancohen.com/howto/rtl_right_to_left.html
http://dotancohen.com/eng/genealogy.php
http://dotancohen.com/heb/contact_info.html
I am aware that I could use a 301 redirect via .htaccess however I would prefer to actually configure the canonical URL of the page. Is this possible in Joomla or with an extension?
Unquestionably, the defacto standard extension is At http://extensions.joomla.org/extensions/site-management/sef/10134. It's highly configurable, well supported, and ver well rated.
In Joomla! 2.5 you can use the built-in Redirect component to catch old URLs and send them to the right content without fiddling with the .htaccess.
You can also create menu's and menu items that will match the old paths then all you need is to place the content of your .html files into suitable articles. Remember you can create a menu (and thus a path to the content) but not display the menu anywhere on the site.
The genealogy.php appears to be a separate application so you can approach that by doing two things, first have a /eng/ directory on your new website with the genealogy.php application in it that way it will have the same URL. Then if you want to create a menu item in a Joomla! menu then you can link to it using a menu item of type 'External Link' - you can read more about the menu types by clicking on the help button in the toolbar.
[EDIT]
For external pages if you want to wrap the external application in your template use a menu item type of Iframe Wrapper this will place them in the main component area of the template. With a good Joomla! 2.5 template you can use a template style specific (i.e. layout settings) for that page.

Sharepoint - Set site category through code

Is it possible to change the site category of a site, or add it in the moment of creation through code?
Thanks,
David Esteves
AFAIK there is no "category" on a site. If you refer to the "site directory" (where you can list your various sites beneath some categories), that is actually implemented as yet another SharePoint site using lists, and you should be able to change the category of an entry simply by changing the corresponding list item in the directory.

Resources