Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

16

You can do that by enabling the SEF URLs and especially the parameter "Use URL rewriting" in the Joomla global configuration. Please note that this will generate an internal server error if you didn't create the .htaccess file before enabling the option. There is a doc page explaining what steps are needed to get those nice URLs. Have a look here: http://...


14

TOC of this answer: Content under same Item Id How Duplicate content is created / Dynamic Pages / URLs SEO perspective Dealing with Duplicate content in Joomla References and links 1. Why the Articles are being displayed under the same itemid First of all, this is not the problem why you are getting duplicate urls. The articles are using ...


8

When you are creating "static" pages with a single article menu item, the page will get its title from the menu item. At this point you have an option to override the page title, in the Menu Item settings -> Page Display. Actually the same applies, for every page of almost every front-end component, that you can create pages with their menu items. So, you ...


7

To set the title of the frontpage differently from the other pages title, add the following code to the template index.php file towards the end of the head information. $menu = $app->getMenu(); if ($menu->getActive() == $menu->getDefault()) { $this->setTitle( 'Whatever You Want Title' ); } This code will set the frontpage title ...


7

The best way is probably to create a plug-in on the onContentPrepare event which does a search-and-replace on any links. What is the reason you are wanting to do this, though? You have tagged this SEO, but any argument I have seen for absolute links over relative links would be countered by Joomla's use of the base tag. The rest seems to be all hearsay, ...


7

When you Share something on Facebook, Facebook will use the most recent information that its scraper has cached from your pages. If FB scraper has not yet crawled a page, then it will read your metadata and generate the content for the shared post at that time. Usually it will prefer to see Open Graph meta tags. A sample of og:metatags that can exist on a ...


6

Solutions: One option is to prevent Joomla from creating canonical URL's, by creating an override for the file /plugins/system/sef/sef.php on line 51 (better no canonical then an incorrect one) If it just concerns one or two pages on the whole site, you could consider using NoNumber's ReReplacer plugin to set the correct tag Install a plugin or ...


6

To answer your question, I think you need to understand the role of robots.txt, which, in view of the very recent mobile friendliness changes in Google's algorithm, is something I have just been working on. robots.txt exists to "request" that search engines and other such user agents do not index the specified contents of the website within the file. The ...


6

There are specific tags that Google understands and does use - these are documented on the google website here: -- https://support.google.com/webmasters/answer/79812?hl=en [The description] tag provides a short description of the page. In some situations this description is used as a part of the snippet shown in the search results. So the other ...


6

There's no need for all that, although it is a great way to customize core views. Joomla has support for H1 & H2 tags most certainly. To edit your H1 tag for a page, go to that menu's management page in the back-end. Once there navigate to the Page Display tab: You can show the default page heading (which is the menu title) or add a custom version in ...


5

Good question. It looks likely that the new Joomla router held over until Joomla 3.6 will fix this issue. In the meantime, there is a free extension, SEF Wizard for Joomla that, "removes IDs from the URL of standard Joomla components, such as com content, com contact and com tags".


5

Media and Templates folders shouldn't be disallowed at first place. GoogleBot now requires access to the css/js of a website in order to understand the design and layout of a website, and these two Joomla folders are the location where most of css/js are located. So it does make sense that Google reported that your website isn't responsive, as it didn't ...


4

I use two different site maps: A html site map that users can use to navigate the site. This is mainly an overview of the site. It should be nicely formatted and easy to use by humans. A xml site map that search engines can use to find everything I want them to find. This contains all the pages that my site has, including the ones in the overview. You can ...


4

Changed htaccess.txt to .htaccess Site > Global Configuration : Use URL rewriting (Choose Yes) SEO Settings Search Engine Friendly URLs(Choose Yes)


4

RS SEO can do this out of the box. In the configuration you set up how you want the site title added, then you can edit any page you want once it has been added. This is particularly important for pages that have long titles that would be too long if you add the site name to the title.


4

This is to clear any misconception about having a self-referenced Canonical Link Element, as using one is not an issue, and how could it be - to say that the page you are viewing at this url is actually the one you mean to display (??) Google is perfectly fine with this. As far as I know, it only Bing that has a recommendation to avoid using self-...


4

The waiting time is basically the time it takes your server to understand what it should do. When you send a request to a server, it will take time from the initial contact to when it sends its response (waiting). So the only way to speed up the waiting time is to speed up your server. Now that can be done with more then just a server upgrade though. So ...


4

You could add this code to the top of Joomla's index.php: if(strcmp($_SERVER['REQUEST_URI'], '/index.php') == 0 && $_SERVER['QUERY_STRING'] == ''){ header("HTTP/1.1 301 Moved Permanently"); header('Location: /'); exit; } Be careful though, if you take this approach, you'll need to redo this when you upgrade.


4

You need to create a new sitemap using a component like xmap and submit it to Google Webmaster Tools 301 Htaccess redirection will also help you redirect old urls to new using the correct pattern 301 Redirects


4

I will focus only on the question itself, about the 2 meta tags and won't expand on what else would make a website SE Friendlier. From the 2 meta tags in question, the one that you should really care and pay attention is the meta description. Although not powerful as it used to be, meta description still has its importance, Google does use it, and it's a ...


4

From the Joomla documentation:"This component is primarily used for redirecting URLs for web pages that no longer exist on your website to web pages that are working. The URL you want to redirect from must not be a working one on your website which actually loads a web page."https://docs.joomla.org/Help36:Components_Redirect_ManagerIf the page you are trying ...


4

To remove the index.php out of the URL, you could try adding this to your .htaccess:RewriteCond %{REQUEST_URI} ^/index.php/ RewriteRule ^index.php/(.*) /$1 [R,L]


4

Keep your .HTACCESS rule, but change it to: RewriteCond %{HTTP_HOST} ^domain.fr [NC] RewriteRule ^(.*)$ https://www.domain.fr/$1 [L,R=301] In your configuration.php file, make sure these two lines are set: public $live_site = 'https://www.domain.fr'; public $force_ssl = '2';


4

The issue of multiple H1 tags was introduced because the page I was viewing was showing featured articles. Solution was to make an override of com_contents featured file by changing h1 to h2 in the file script


3

I know you said you do not want to 'hack the core files' but Joomla comes with all these great module/theme overrides that let you customise their output without loosing these changes each time you run Joomla updates. All you need is an FTP program and a text editor. It does involve customising your theme but the core files are left alone. Absolute Menu ...


3

I made a module that you can assign to any page and override meta title and description (It's actually for adding custom code to a site and extra code to the page head but it does this as well). http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-modules/17842 Set global configuration how you want most of ...


3

Took me a bit to realize what you were asking. This thread is I think what you're talking about: http://forum.joomla.org/viewtopic.php?t=696287 one option is to override the output of the category items, but it might be easier to just us a plugin like this one: http://extensions.joomla.org/extensions/site-management/seo-a-metadata/meta-data/17926


3

Create a system menu linking to the items, with prefered page titles.


3

In libraries/legacy/controller/legacy.php we changed: throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix), 500); to throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix), 404);


3

1) Not really. 2) From a configuration perspective you don't need to change anything in the .htaccess file for proper and optimal functionality of sh404sef. From an "SEO" perspective, there are some things I would recommend. Mainly ensure that you are properly redirecting non www to www (or vise versa) using this: https://stackoverflow.com/questions/...


Only top voted, non community-wiki answers of a minimum length are eligible