Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
url with subfolders
#1
Hi, I have GS in subfolder and my URLs look like:
domain.com/domains/domain.com/index/page-title/

Is it possible change it to:
domain.com/page-title

? How?

Thank you
Reply
#2
I don't understand. I have GS in subfolders and the url (with fancy urls on) of a page is
domain.com/subfolder/pageslug
or for the index
domain.com/subfolder/

Like here all the theme demos are separate GS installs in sub folders
http://timbowgs.bplaced.net/citywide/

Have you got a folder called index in a folder called domain.com?
Reply
#3
(2013-09-23, 16:55:43)stavelik Wrote: Hi, I have GS in subfolder and my URLs look like:
domain.com/domains/domain.com/index/page-title/

Is it possible change it to:
domain.com/page-title

? How?

Thank you

You mean domain.com/sites/gs-site ?

You can also make a subdomain like gs-site.domain.com . So if you want to change the url, you don't have to change the folder structure.
Reply
#4
@stavelik

Did you change the website url in settings? Are you using some custom permalink structure?
Reply
#5
@stavelik: Yes you can do it,
if you move the content of your GS site to the new folders
domain.com/page-title
and click on "Settings" and modify "Website URL".
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
#6
I'm having a problem with this too. I have my getsimple installation in a subdirectory, like so:

http://domain.com/subdirectory/

I have changed the website URL in the settings page to mirror the above (which is what it suggests), I don't have fancy urls enabled, or a custom permalink structure.

The url(/theme/...) function that gets called from various parts inside themes doesn't seem to take this into account, the result being that it doesn't find certain files.

E.g. I get:

http://localhost/theme/Flamingo2.2.2/assets/img/stripe.gif 404 (Not Found)

which is understandable as the file is actually at:

http://localhost/subdirectory/theme/Flamingo2.2.2/assets/img/stripe.gif

Any ideas?

(Also, while I'm here, I take it the search function on this forum is broken? E.g. if you search this topic for the words "timbowgs" and "citywide", which both show up in post no 2 in this thread, it should find this page, but instead returns no results. If the search function doesn't take multiple words, it's pretty much useless...)
Reply
#7
Hi andyhasit,
then check in your template if the images are called with this function
e.g. <?php get_theme_url(); ?>/assets/img/stripe.gif
Then check in the section "Theme" if the path of your template is correct or select it again.
Check again in "WebSite Settings" if your url is
http://domain.com/subdirectory/
If all this shouldn't work, then modify the paths of your template manually Undecided
Same thing for the paths of the images in your all pages.
I know.. it's Not the best solution but at least could work!

Let me know if it works.
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
#8
(2013-09-24, 15:42:55)D.O. Wrote: Hi andyhasit,
then check in your template if the images are called with this function
e.g. <?php get_theme_url(); ?>/assets/img/stripe.gif
Then check in the section "Theme" if the path of your template is correct or select it again.
Check again in "WebSite Settings" if your url is
http://domain.com/subdirectory/
If all this shouldn't work, then modify the paths of your template manually Undecided
Same thing for the paths of the images in your all pages.
I know.. it's Not the best solution but at least could work!

Let me know if it works.

D.O.

I think it will have to be renaming of paths as some of the url() calls are in css. In hindsight it all makes sense as url() is not a getsimple function and "/" will map to "http://domain.com/", but I can see how this throws people first time round.

I like making copies and backups of templates too so I'll just have to keep on top of updating path references across various files, which is not problem with Notepad ++.

Thanks for the reply!
Reply
#9
No thanks needed, mate.
If you need help with your css file, don't hesitate to contact me.
Good Luck
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply
#10
Sounds like the theme is not properly coded.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#11
(2013-09-24, 08:05:47)andyhasit Wrote: (Also, while I'm here, I take it the search function on this forum is broken? E.g. if you search this topic for the words "timbowgs" and "citywide", which both show up in post no 2 in this thread, it should find this page, but instead returns no results. If the search function doesn't take multiple words, it's pretty much useless...)

Those are not words they are in a url, words require a word boundary ( spaces around them )
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)