Short url

Post

Posted
Rating:
#447 (In Topic #145)
Short url does not look to be working
(RewriteRule is working on crossdomain.xml)

Post

Posted
Rating:
#449
Hi,

I'm not really following what you mean I'm afraid. crossdomain.xml isn't related to short URLs, it's for for controlling Adobe Flash access across multiple domains.

Short URLs are running on this site, for example (http://compo.sr/forum/topicview/browse/designing/short-url.htm instead of http://compo.sr/forum/index.php?page=topicview&type=browse&id=designing/short-url).

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by PDStig)
#450
That doesn't seem like a short url from my limited understanding of them, just a rewrite to htm from php (and it's pretty much the same length). My opinion is based on short url services like the one google offers. Something like that, which actually makes a short url might be nice to have.

Post

Posted
Rating:
#451
That may be so, but we stopped using the terminology short URL already anyway :lol: . v10 uses the term "URL scheme".

Maybe he does mean something else, but I'm not sure what.

Post

Posted
Rating:
#453
Yes
http://compo.sr/forum/topicview/browse/designing/short-url.htm
instead of
http://compo.sr/forum/index.php?page=topicview&type=browse&id=designing/short-url
Is not working for me… I get the long "URL scheme"

The .htaccess file has all the RewriteRule and it is working on some like  crossdomain so does not look to be apache.


 

Post

Posted
Rating:
#454
Have you turned it on in the configuration?

It's the "URL scheme" option.

Full tutorial:

Composr Tutorial: URL Schemes in Composr

Open Source CMS with advanced social, interactive and dynamic features. Fully flexible, themeable and extendible: suitable for building powerful websites.

View


Post

Posted
Rating:
#455
Yes tried different options none work

Post

Posted
Rating:
#456
What web server brand is it? E.g. Apache, or something else?

Post

Posted
Rating:
#457
Yes tried different options none work

Post

Posted
Rating:
#458
Whoops you already said Apache.

When you try manually typing a URL scheme URL, e.g. /start.htm does that work?

If not, it may be an issue with the RewriteBase line, possibly.

Otherwise it might be that Composr is ignoring the setting. This can happen if it doesn't think you're running Apache, or if it was forced off via a _config.php setting (there's a setting to force it off to get back into a site if it's stopped working right).

Post

Posted
Rating:
#466
/start.htm works OK

What do not see in  _config.php

Post

Posted
Rating:
#469
Check there's no block_mod_rewrite setting there.

Post

Posted
Rating:
#471
Do not see any....

Post

Posted
Rating:
#472
Is the problem that you saw this error when setting a URL Scheme:

"Before you may enable mod_rewrite support, you must enable it on the web server. If you used the quick installer then the installer will have tried to set this up for you in the <kbd>.htaccess</kbd> file but did not manage it. This probably means that changes will need doing to the central server configuration. If you wish to try to change your <kbd>.htaccess</kbd> file manually, look at <kbd>recommended.htaccess</kbd> or <kbd>plain.htaccess</kbd>." ?

If you saw no error, what URL Scheme did you choose out of the 4 choices?
  • Raw PHP-style URLs
  • Use /pg/ to identify CMS pages
  • (Expert-users) Use .htm to identify CMS pages
  • (Very-expert-users) Very simple unadorned URLs

Can you give me an example URL, so I can confirm it's not just that you've selected a different URL Scheme.

Post

Posted
Rating:
#474
I have tried recommended.htaccess as .htaccess
I using (Expert-users) Use .htm to identify CMS pages

Post

Posted
Rating:
#476
Please answer this question also…

Is the problem that you saw this error when setting a URL Scheme:

"Before you may enable mod_rewrite support, you must enable it on the web server. If you used the quick installer then the installer will have tried to set this up for you in the <kbd>.htaccess</kbd> file but did not manage it. This probably means that changes will need doing to the central server configuration. If you wish to try to change your <kbd>.htaccess</kbd> file manually, look at <kbd>recommended.htaccess</kbd> or <kbd>plain.htaccess</kbd>." ?

Post

Posted
Rating:
#479
No seeing no errors.
Just not seeing short urls….

Post

Posted
Rating:
#483
Actually block_mod_rewrite was set. I removed it and now it all works fine.
7 guests and 0 members have recently viewed this.