Sysadmin Tips
  • Home
    • Clients
    • Servers
    • Active Directory
    • Home and Media
    • Simple How Tos
    • Clients
    • Servers
  • Mac OS X
    • Cloud
    • Web and Network
    • Mobile Devices
    • Reviews and Tutorials
    • Programming
    • Android apps
    • Cars
    • Cycling
    • Contact
    • Useful Tools
    • WOL Online Tool
    • WOL Desktop Tool
    • Fuel Converter
    • Fuel Calculator
    • Custom Text Button
Sysadmin Tips

Redirect "component/content/?view=featured" to your home page

I've had this issue with some brand new Joomla websites. One of the first URLs Google indexes is www.yoursite.com/component/content/?view=featured.

In addition to a weird URL, following this link often opens your website without navigation or some other components. While this normally gets resolved after a while without any action (Google updates its index), as a temporary workaround you can use .htaccess file to redirect /component/content/?view=featured to your home page. Simply add flowing code to your .htaccess:

RewriteCond %{QUERY_STRING} ^view=featured$
RewriteRule ^component/content/$ http://www.yoursite.com/? [L,R=301]

Joomla - add separator between articles on front page

If you want to add a separator between your Joomla home page featured articles, add following text to your template's Cascading Style Sheets (CSS) file:


.item-separator {
border-bottom: 1px dotted #898989;
display: block;
height:5px;
margin: 10px 0;
width: 100%;
}

Adjust parameters to match your website design.

 

 

Change default article sort order in Joomla back end

By default Joomla sorts articles by title, which may be fine in some instances, however, most of the time people prefer to have them sorted by date with latest articles at the top. Normally, to do this you would have to click on Date heading twice.

There is no built-in option to change default sort order, but this can be achieved by making a small change to one Joomla core file.

Read more: Change default article sort order in Joomla back end

Joomla article navigation in middle of the page

In some templates Joomla article navigation may appear in the middle bottom of your articles.

Joomla article navigation in the middle

This can be changed by making a small change to your template's Cascading Style Sheets (CSS) file.

For example, if you use Rocket Theme Afterburner template all you need to do is add is folowing text to templates/rt_afterburner/css/light.css (actual css file name may be different if you changed template's colour scheme):

.pagenav-prev {float: left;}
.pagenav-next {float: right;}

Joomla article navigation

With other templates, required changes may be slightly different.

  1. Remove date and time from Joomla Menu link URL
  2. Removing hidden online poker link from Joomla template
  3. Joomla - make pagination horizontal
  4. Reboot Linksys / Cisco SPA VOIP Phones remotely
  5. Emails to GoDaddy mailbox fail with error 550 5.1.0 Address rejected
  6. Joomla JoomGallery - add link in SlimBox to Detail View (for comments and ratings)
  7. JoomGallery – The uploaded image doesn't seem to be a valid image file
  8. Joomla - Infinite loop detected in JError
  9. Joomla 1.5 - Remove numbers from Category List View
  10. Apple ID login not working: "The apple id you entered couldn't be found" and "Fatal internal error occurred"

Page 19 of 25

  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
Privacy Policy