WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Changing the PAGES folder
  • Print
Pages: [1]   Go Down

Author Topic: Changing the PAGES folder  (Read 19786 times)

Offline svsanchez

  • Posts: 589
Changing the PAGES folder
« on: February 09, 2019, 08:10:24 PM »
Hello,

I used to change the pages folder in WB 2.8.x without problem but now with 2.10.x the option is grayed out. I found a post saying that it is NOT possible to change the pages folder once there is content created.

However, I MUST change the pages folder and would greatly appreciate if someone could tell me a workaround maybe via phpmyadmin?

The reason for this is that I installed WB on a subdomain with php 7 (the rest of the server is still using php 5.6). The subdomain is only a small part (about 100 pages) of a very large site with more than 100,000 pages. The whole site uses the same Google Analytics, and instead of looking at individual pages statisticis, we need to look at the new section's performance by searching for the folder name in Google Analytics.

But since there are other WB instances installed for managing other sections, it's impossible for us to see the visits to the newly created section, as searching for 'pages' will show results from all the sections using WB as it's CMS!

So by changing the 'pages' folder to 'guerra' we can see the visits to the whole new section.

Thank you!
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8918
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Changing the PAGES folder
« Reply #1 on: February 09, 2019, 08:40:53 PM »
Hi, remove the files in the pages folder for short time and change the directory like you want.
Then add the pages again.
Logged
https://onkel-franky.de

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Changing the PAGES folder
« Reply #2 on: February 09, 2019, 09:35:50 PM »
Quote
However, I MUST change the pages folder and would greatly appreciate if someone could tell me a workaround maybe via phpmyadmin?

to give here an answer...
the correct table is  settings, maybe with your table-prefix (default is wb_settings), if you use one. sort fields by name and search for pages_directory

but..... after that, you have to rename the folder and copy the files

the way from dbs is very simple and you dont need PHPmyAdmin.
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Changing the PAGES folder
« Reply #3 on: February 09, 2019, 10:14:05 PM »
Quote from: svsanchez on February 09, 2019, 08:10:24 PM
The whole site uses the same Google Analytics, and instead of looking at individual pages statisticis, we need to look at the new section's performance by searching for the folder name in Google Analytics.
Wouldn't it be more logical to use a GA custom category in the template of that sub-site/section (and other sections)?
A seperate WB instance uses a seperate template and therefore the GA code could have seperate configs.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Changing the PAGES folder
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2