561
bjuti
Re: Static page title on frontpage
  • 2009/7/18 22:08

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Well... it's a news portal.. it will be lame to make independant 'entering page'... :) Is there any other way? :)



562
bjuti
Re: Canonical URI´s over Xoops
  • 2009/7/18 22:07

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Tnx, it works now! :)

Now tell me.. is it possible to redirect www.mysite.com/index.php to only www.mysite.com? I've tired once, but navigation in news module didn't work..

Tnx again



563
bjuti
Re: Static page title on frontpage
  • 2009/7/18 10:38

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Nope.. What i ment is this:

My company is called eg. "United Lions Ltd." and domain is eg. "www.unitedlions.com".

When you go to the url, the title of the page must be: United Lions Ltd.

Not "United Lions Ltd: Our company at top 10" [latest news article]. But when you click on article on the page called: "Our company at top 10" you go to the page, and then title must be "United Lions Ltd: Our company at top 10".

What I want to say is something like this:
On the top page the title should be <{$xoops_sitename}>, and on any other page, news, articles, gallery etc... should be: <{$xoops_sitename}> : <{$story.news_title}> etc.

When i search my site on Google, everytime it's a different title for the maindomain, dependend on the latest news article, and I don't want that. :)



564
bjuti
Re: Canonical URI´s over Xoops
  • 2009/7/18 10:24

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


This is my .htaccess

Quote:
Options + FollowSymLinks
RewriteEngine On

RewriteCond %{ HTTP_HOST }^mysite.com [ NC ]
RewriteRule ^(.*)$http://www.mysite.com/$1 [L,R=301]
RewriteRule ^vesti/(.*) /modules/news/$1 [QSA,L]
RewriteRule ^tekstovi/(.*) /modules/smartsection/$1 [QSA,L]
RewriteRule ^tekstovi\.([a-z]+)\.([0-9.]+)/ modules/smartsection/seo.php?seoOp=$1&seoArg=$2
RewriteRule ^download/(.*) /modules/wfdownloads/$1 [QSA,L]
RewriteRule ^rss/(.*) /modules/rss/$1 [QSA,L]
RewriteRule ^mapa-sajta/(.*) /modules/sitemap/$1 [QSA,L]
RewriteRule ^kontakt/(.*) /modules/liaise/$1 [QSA,L]
RewriteRule ^casopis/(.*) /modules/mastop_publish/$1 [QSA,L]
RewriteRule ^blog/(.*) /modules/planet/$1 [QSA,L]
RewriteRule ^tekstovi-glavna/(.*) /modules/tekstovinovo/$1 [QSA,L]

ErrorDocument 404 /404.html


And it still does not work. :) What I'm doing wrong?

It doesn't work with this also:

Quote:
Options +FollowSymLinks


When I put just:
Quote:
RewriteRule ^(.*)$http://www.mysite.com/$1 [L,R=301]


I got:

Quote:
The page isn't redirecting properly


Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept cookies.



565
bjuti
Static page title on frontpage
  • 2009/7/17 18:30

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi Xoopsers,

I need a static title for front page, eg. "MySite", but when you click on news article to be like "MySite - [Article title]"

I use news module for front page.

Tnx all



566
bjuti
Re: Canonical URI´s over Xoops
  • 2009/7/17 13:40

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


when i do:

RewriteCond %{HTTP_HOST}   !^www.your-domain.com [NC]  RewriteCond %{HTTP_HOST}   !^$  RewriteRule ^(.*)$ http://www.your-domain.com/$1 [L,R=301]


it works, but i can't go to the other pages in news which is landing module, using the navigation 1, 2, 3.. page...

when i say that it works, i mean that i don't get a server error, but cannonical dosen't work.. stil is www.mysite.com/index.php

maybe coz i have url rewrite smarty module turned on..



567
bjuti
Re: Canonical URI´s over Xoops
  • 2009/7/17 9:35

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Does not work for me... I got "Internal Server error"...



568
bjuti
Re: Very basic question (need the help :()
  • 2009/6/18 23:10

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I really like your themes, but I think that you could make it 3 column :)



569
bjuti
Re: Facebook share problem
  • 2009/6/13 9:17

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Tnx Trabis



570
bjuti
Facebook share problem
  • 2009/6/12 9:45

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi

I have one strange problem. Since few weeks when I want to share a link on Facebook, via direct input or via addthis.com, Facebook don't use any of meta tags, eg. description, so the shared link have only site url as the title and have no description.

I thought that is coz of slow dns servers or maybe XOOPS itself, but as far as i can see on xoops.org the share button works ok.

Does anyone had similar problem?

Tnx




TopTop
« 1 ... 54 55 56 (57) 58 59 60 ... 64 »



Login

Who's Online

162 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits