Article alias not show in browser url in Joomla 3.0 - url

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.

Related

Joomla 3.3 Article URL?

I am using Joomla 3.3 and have a lot of articles. My goal is to make it so the URL for an article is,
www.mysite.com/menu-item/article
However, right now when you click on an article it goes to
www.mysite.com/(id)-article
and takes you to the main page instead of staying on the menu item page. I'd like the page to stay on the menu item's page as I have page specific modules.
I'd like some explicit help as the answers when I Google are rather unclear.
You need to create a menu item for your article, as that will be used to create the url.
…and takes you to the main page instead of staying on the menu item
page. I'd like the page to stay on the menu item's page as I have page
specific modules.
No, it doesn't take you to the main page (you can check that by looking at the URL in your browser) but because Joomla modules are assigned according to menu item IDs when there is no menu item Joomla uses the settings of the default page, your homepage, so you get the same modules as appear on the homepage.
The solution to both these problems is to create a menu item for the article (or at least to its parent category to fix module assignment).
There's a detailed description of the issues and how to deal with them in How to control module display when linking to an article with no menu item.

How to Create Startup Page Custom module .cshtml in Orchard

I am using Orchard 1.7 and I want to make start page from my custom module.
I've created a module with name MYMODULE and under it's view folder I have *.cshtml with name Index. I want to set Index page as a startup page of my site. It means first page will be Index.cshtml from MYMODULE.
Is it Possible? Please help me.
Enable the aliasUI feature in Modules section
Add a blank route that points to /MyModule/MyController and it should work. May have to delete the current homepage url. And maybe it isn't blank but a "/". I cant remember ^_^
EDIT:
Check this link out: http://davidhayden.com/blog/modifying-orchard-permalinks-after-publishing-content-items Now if you follow the instructions to modify urls, you will see an alias called
/
This will probably link to your Welcome to Orchard page route, ie. /Contents/Item/Display/12 or something. Edit this route to point at your custom page.
i solve this problem .please follow these steps:-
Login with Admin and open dashboard page.
Enable Aliases Module.
Click on Aliases Link left on dashboard page.
Edit first Aliase (top most) change only RoutePath write your module name
/controllername(Mymodule/home)
after that it will be your startup

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

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

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